Issue 726 in moose-technology: FM3PropertyDescription>>getRawFrom: should return false in Boolean properties instead of nil

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 726 in moose-technology: FM3PropertyDescription>>getRawFrom: should return false in Boolean properties instead of nil

moose-technology
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Metanool Milestone-4.6

New issue 726 by [hidden email]: FM3PropertyDescription>>getRawFrom:  
should return false in Boolean properties instead of nil
http://code.google.com/p/moose-technology/issues/detail?id=726

It avoids to use the binary message into the Finder with meta-annotated  
Boolean properties when using Metanool.

For example, instead of:
each annotations hugeClasses = true
We have:
each annotations hugeClasses

What do you think?


Code to fix it is below.

FM3PropertyDescription>>getRawFrom: element
        ^ element privateState
                attributeAt: self name
                ifAbsent: [
                        (self type = FM3 boolean)
                                ifTrue: [false]
                                ifFalse: [nil] ]

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 726 in moose-technology: FM3PropertyDescription>>getRawFrom: should return false in Boolean properties instead of nil

moose-technology

Comment #1 on issue 726 by [hidden email]:  
FM3PropertyDescription>>getRawFrom: should return false in Boolean  
properties instead of nil
http://code.google.com/p/moose-technology/issues/detail?id=726

getRawFrom: is basic and must remain like this because it is used in many  
contexts. The metanool-related problem should probably be solved in  
metanool when installing the property.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 726 in moose-technology: FM3PropertyDescription>>getRawFrom: should return false in Boolean properties instead of nil

moose-technology
Updates:
        Status: WontFix

Comment #2 on issue 726 by [hidden email]:  
FM3PropertyDescription>>getRawFrom: should return false in Boolean  
properties instead of nil
http://code.google.com/p/moose-technology/issues/detail?id=726

(No comment was entered for this change.)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev