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

hide attribute couldn't be overriden #14

Open
ajitjain opened this issue Jan 16, 2014 · 1 comment
Open

hide attribute couldn't be overriden #14

ajitjain opened this issue Jan 16, 2014 · 1 comment
Assignees
Labels

Comments

@ajitjain
Copy link
Contributor

if base mmd type has set hide="true" for a field then derived type is not able to change it to "false".
this is because inheritance handler is not able to determine (post-deserialization) whether the attribute actually didn't exist, or was "false". it then inherits the value from the base.

@ghost ghost assigned quyin Jan 16, 2014
@quyin
Copy link
Member

quyin commented Jan 24, 2014

A workaround of this is to use always_show, which should take precedence over hide.

Fixing this will require changes in simpl. We will need a NullableBoolean type.

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

No branches or pull requests

2 participants