ES-DOC / esdoc-questionnaire

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

Opening "machine" customization crashes #544

Open allynt opened 7 years ago

allynt commented 7 years ago

Opening "machine" customization crashes!

allynt commented 7 years ago

Problem occurs for the following reason (surprised that this is the 1st time I encountered this):

A Machine Document has a property called "partition" which is a RELATIONSHIP to either another Machine or a Partition. The former is a CIM Document while the latter is just a CIM Class. The Q is hard-coded to render relationships to documents as references and relationships to everything else as subforms. There is an assert checking that a property's relationship targets consists of either all documents or no documents.