ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Ensure get_default_customization works with all realization types. #476

Closed allynt closed 7 years ago

allynt commented 7 years ago

WHO: Allyn

Ensure get_default_customization works with all realization types. Currently it fails for properties (b/c it requires a "project" field which QPropertyRealization does not have).

allynt commented 7 years ago

Code to "walk the path" of a hierarchical realization now includes a way to access the (top-level) project.

allynt commented 7 years ago

Should also use "get_default_customization" in view code, rather than explicitly computing the model customization. (The view code was written prior to this fn.)