bugGNU Octave - Bugs: bug #49753, display.m fails to display certain...

 
 

bug #49753: display.m fails to display certain strings and structures

Submitted by:  Julien Bect <jbect>
Submitted on:  Fri 02 Dec 2016 03:25:04 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 09 Dec 2016 08:05:40 PM UTC, comment #4:

@Julien: More work and discussion on this issue is ongoing at bug #49794 (https://savannah.gnu.org/bugs/?49794). I'll copy your comment #3 over there, and you can join the CC list on that bug.

Rik <rik5>
Project Administrator
Fri 09 Dec 2016 07:22:19 PM UTC, comment #3:

The patch fixes the bug, alright, but the behaviour is not Matlab-compatible. Indeed, here is what you get in Matlab (R2016a) when calling display on a object of a class that does not overload display:

Should I open a separate bug report for this?

Julien Bect <jbect>
Fri 09 Dec 2016 05:33:29 PM UTC, comment #2:

I checked in a fix on stable (http://hg.savannah.gnu.org/hgweb/octave/rev/3bc6e9a71d9e). This will be part of the 4.2.1 bug fix release.

Rik <rik5>
Project Administrator
Fri 09 Dec 2016 03:12:02 PM UTC, comment #1:

Confirmed. I have a fix, but I'm waiting until the results from another bug affecting display are reported so I can make a single fix.

Rik <rik5>
Project Administrator
Fri 02 Dec 2016 03:25:04 PM UTC, original submission:

display () fails to display strings, structures, cells, etc as soon as they contain the substring '<class '. For instance:

The problem occurs, for instance, when calling display () on a structure where at least on field contains an object:

Julien Bect <jbect>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Dec 2016 11:24:17 PM UTCamro_octaveCarbon-Copy-=>Added amro_octave
    Fri 09 Dec 2016 05:33:29 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 09 Dec 2016 03:12:02 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1