bugGNU Octave - Bugs: bug #62377, Unexpected Return for findobj()...

 
 

bug #62377: Unexpected Return for findobj() with param "flat"

Submitter:  Glite <linuxbckp>
Submitted:  Thu 28 Apr 2022 12:04:27 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 30 Apr 2022 04:49:41 AM UTC, comment #2: 

This is effectively a duplicate of bug #62378 because "-flat" is equivalenth to "-depth 0".

Rik <rik5>
Group administrator
Sat 30 Apr 2022 04:45:16 AM UTC, comment #1: 

Confirmed.  Input validation shold error out if findobj is called with a list of figure handles and those figure handles do not exist.

Rik <rik5>
Group administrator
Thu 28 Apr 2022 12:04:27 PM UTC, original submission:  

When using findobj() with param "flat", it may incorrectly return a mat, not throw error.

Here is my code:

>> findobj([0 1 10])

error: get: invalid handle (= 10)
error: called from
    findobj at line 228 column 16

>> findobj([0 1 10], "flat")

ans =

    0
    1
   10


Glite <linuxbckp>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by linuxbckp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-30 rik5 StatusDuplicate Fixed
        Open/ClosedOpen Closed
    2022-04-30 rik5 StatusConfirmed Duplicate
        Dependencies- Depends on bugs #62378
    2022-04-30 rik5 CategoryGUI Octave Function
        StatusNone Confirmed
        Release6.4.0 7.1.0
    2022-04-28 linuxbckp Attached File- Added ksnip_20220428-194810.png, #53154

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code