bugpyFormex - Bugs: bug #45228, selectProp if there are no prop

 
 

bug #45228: selectProp if there are no prop

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Mon 01 Jun 2015 12:54:36 PM UTC  
 
Category: CoreSeverity: 1 - Wish
Item Group: Feature requestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 07 Jul 2016 10:37:49 AM UTC, comment #1:

I suggest that when props are missing, the behavior would be as if all props are 0.

Benedict Verhegghe <bverheg>
Project Administrator
Mon 01 Jun 2015 12:54:36 PM UTC, original submission:

If an geometry object has no prop selectProp and cselectProp both return the full geometry. This can be confusing. I would expect to get an empty geometry in with selectProp() and a full geometry with the cselectProp(). In both cases I would also add a warning, because the method is actually not applicable.

Now it works like that:

geometry G has prop None
G.selectProp(2) -> G

geometry G has prop None
G.cselectProp(2) -> G

gianluca de santis <gianlucadesi>
Project Member

 

(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 bverheg (Posted a comment)
  • -unavailable- added by gianlucadesi (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 logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1