bugGNU Octave - Bugs: bug #50689, fieldnames(...,full) broken.

 
 

bug #50689: fieldnames(...,full) broken.

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Fri 31 Mar 2017 12:26:32 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 31 Mar 2017 03:30:48 PM UTC, comment #2:

Yes, I made a mistake: i used it locally and it worked.
Could you be so kind and include my patch for bug #48740?

Ernst Reissner <ernstreissner>
Fri 31 Mar 2017 03:25:21 PM UTC, comment #1:

I am not sure that ever worked. I cannot find a version of fieldnames in the repository that accepted two input arguments. (I might be wrong...)

Anyway, is this a duplicate of bug #48740 you reported a few months ago? The issues sound very similar to me.
You posted patches over there. Is it possible that it worked for you because you had applied these patches locally?

Closing tentatively as a duplicate of bug #48740.

Markus Mützel <mmuetzel>
Project Member
Fri 31 Mar 2017 12:26:32 PM UTC, original submission:

According to
https://www.mathworks.com/help/matlab/
ref/fieldnames.html?s_tid=gn_loc_drop

Syntax

names = fieldnames(s)
names = fieldnames(obj,'-full')
Description

names = fieldnames(s) returns a cell array of character vectors containing the names of the fields in structure s.

names = fieldnames(obj,'-full') returns a cell array of character vectors containing the name, type, attributes, and inheritance of the properties of obj. Only supported for COM or Java® objects.
names = fieldnames(s) returns a cell array of character vectors containing the names of the fields in structure s.

This worked in 4.1.0+ but now no longer.
I have the impression, that more than this has been changed
and that this is no good work.

I attached the new file and the old file.

Ernst Reissner <ernstreissner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40219:  fieldnames.m added by ernstreissner (4KiB - application/ecmascript)
file #40220:  fieldnames.m added by ernstreissner (3KiB - application/ecmascript)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 31 Mar 2017 03:25:21 PM UTCmmuetzelStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #48740
    Fri 31 Mar 2017 12:26:32 PM UTCernstreissnerAttached File-=>Added fieldnames.m, #40219
      Attached File-=>Added fieldnames.m, #40220
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1