bugGNU Octave - Bugs: bug #50671, Object arrays don't work correctly...

 
 

bug #50671: Object arrays don't work correctly with linear indexing

Submitted by:  Stephan Jaeckel <stephan8282>
Submitted on:  Wed 29 Mar 2017 02:05:23 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: stephan8282Open/Closed: Closed
Release: 4.2.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 07 Apr 2017 06:22:50 PM UTC, comment #4:

The patch in bug #46660 is pushed and this is now working correctly.
Closing report as fixed.

Markus Mützel <mmuetzel>
Project Member
Wed 29 Mar 2017 08:35:35 PM UTC, comment #3:

Probably is. I added bug #46660 as a dependency.

Rik <rik5>
Project Administrator
Wed 29 Mar 2017 07:33:57 PM UTC, comment #2:

Might be related to bug #46660.

Markus Mützel <mmuetzel>
Project Member
Wed 29 Mar 2017 06:49:42 PM UTC, comment #1:

Confirmed, although the actual problem is a bit different. The problem seems to be that the interpreter isn't handling linear indexing correctly. See the diary from the session below and note that linear indexing is changing the size of the array.

Note that if you use explicit ROW,COLUMN indexing then assignment works correctly.

Rik <rik5>
Project Administrator
Wed 29 Mar 2017 02:05:23 PM UTC, original submission:

When setting properties of an element in an object array, other properties of the same object get retested to their default values. This only happens with arrays of objects.

Minimal classdef:

Example:

Stephan Jaeckel <stephan8282>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 07 Apr 2017 06:22:50 PM UTCmmuetzelStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 29 Mar 2017 08:35:05 PM UTCrik5Dependencies-=>Depends on bugs #46660
    Wed 29 Mar 2017 06:49:42 PM UTCrik5CategoryOctave Function=>Interpreter
      StatusNone=>Confirmed
      SummaryWriting of property values in object arrays delets all other property values=>Object arrays don't work correctly with linear indexing
    Wed 29 Mar 2017 02:05:23 PM UTCstephan8282Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1