bugGNU Octave - Bugs: bug #33605, concatenation of struct with empty...


bug #33605: concatenation of struct with empty string fails

Submitted by:  John W. Eaton <jwe>
Submitted on:  Mon 20 Jun 2011 05:04:19 PM UTC  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun 16 Mar 2014 06:54:11 PM UTC, comment #2:

The issue is still present (3/16/14). Concatenation of an empty string value, '' or "", with a struct results in an error.

Rik <rik5>
Project Administrator
Sat 22 Jun 2013 02:21:52 AM UTC, comment #1:

This is an old report, from 2011, but the issue is still there (6/21/13). Since the parser has undergone significant work, can we make a call about whether we should support promoting empty strings to nulls for concatenations with structs?

Rik <rik5>
Project Administrator
Mon 20 Jun 2011 05:04:19 PM UTC, original submission:

The following should all work

but the character string versions fail on invalid conversions.

Should we be treating literal null matrices specially in tree_matrix::rvalue1 in pt-mat.cc? Because of the way that function handles initial empty values, it seems that functions like
oct_catop_matrix_struct in op-struct.cc are not called in all cases. Or maybe they are never called? In what cases are they be called? Should they be called for all empty value cases? Just for non-literal empty matrices? At this point, I'm obviously not sure what the right fix is...

John W. Eaton <jwe>
Project Administrator


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

Attach File(s):

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 rik5 (Posted a comment)
  • -unavailable- added by jwe (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jun 2013 02:21:52 AM UTCrik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup