bugGNU Octave - Bugs: bug #50831, can't load structure with...


bug #50831: can't load structure with non-matlab field identifiers from 'ascii' format file

Submitted by:  Olaf Till <i7tiol>
Submitted on:  Wed 19 Apr 2017 12:50:49 PM UTC  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: Patch SubmittedAssigned to: None
Originator Name: Olaf TillOpen/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Wed 19 Apr 2017 12:50:49 PM UTC, original submission:

Contrary to Matlab, Octave allows any strings as field identifiers in structures. But after saving such structures in the 'ascii' format, they can't be reloaded, since the validity of the identifier is checked with a general test for identifier validity.

You can check for this bug with the following test:

A patch will be attached as soon as the bug number is known.

The patch avoids checking of identifier validity whenever function fields are read from an 'ascii' format file. The above test is contained in the changeset.

Olaf Till <i7tiol>
Project Member


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

Attach File(s):

Attached Files
file #40444:  bug-50831.cset added by i7tiol (4KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by i7tiol (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Mar 2018 08:02:28 AM UTCmtmillerCategoryNone=>Octave Function
      StatusNone=>Patch Submitted
    Wed 19 Apr 2017 01:08:52 PM UTCi7tiolAttached File-=>Added bug-50831.cset, #40444

    Back to the top

    Powered by Savane 3.1-cleanup1