Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FM3PropertyDescription>>getRawFrom: should return false in Boolean properties instead of nil #726

Closed
seandenigris opened this issue Aug 3, 2015 · 2 comments

Comments

@seandenigris
Copy link
Contributor

Originally reported on Google Code with 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] ]

Reported by andrehoraa on 2011-10-15 19:29:29

@seandenigris
Copy link
Contributor Author

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.

Reported by tudor.girba on 2011-11-16 08:35:33

@seandenigris
Copy link
Contributor Author

Reported by tudor.girba on 2011-12-05 08:29:53

  • Status changed: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant