bugGNU Octave - Bugs: bug #51899, openvar() function should validate...

 
 

bug #51899: openvar() function should validate its inputs

Submitted by:  Rik <rik5>
Submitted on:  Wed 30 Aug 2017 09:03:26 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned 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.

 

Wed 30 Aug 2017 11:06:38 PM UTC, comment #2:

I added both bits of input validation in this cset http://hg.savannah.gnu.org/hgweb/octave/rev/529272d1c271. Fixed, closing report.

Rik <rik5>
Project Administrator
Wed 30 Aug 2017 09:06:03 PM UTC, comment #1:

It might also be nice to issue a warning if the octave_link is not active, when running octave-cli or octave --no-gui.

Mike Miller <mtmiller>
Project Administrator
Wed 30 Aug 2017 09:03:26 PM UTC, original submission:

I was trying the new Variable Editor and I used

There were two warning messages issued immediately in the Command Window.

In addition, the Variable Editor did pop open a tab with a crazy string for the variable name which it said it could not find.

The correct syntax should have been

where "y" is a string. Instead, I got something like

I understand how this happened, but it would be nicer if the openvar function would validate its inputs just a bit.

Rik <rik5>
Project Administrator

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by rik5 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Aug 2017 11:06:38 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1