dtolabs / yana2

Yet Another Node Authority ... because you wanted an agile Real-Time Service Model (RTSM)
8 stars 1 forks source link

Attributes allowed as part of NodeType definition are not shown when editing nodes #154

Closed ahonor closed 12 years ago

ahonor commented 12 years ago

To reproduce:

  1. In an XML import file:
    • Define a type with several attributes.
    • Define a node instance that defines values for a subset of the attributes defined by that node type.
    • Import the XML
  2. Login to the GUI
    • Select the imported node
    • Edit it and observe the form:
    • BUG: You won't find textfields for attributes that were not defined in the XML import.

The edit form should show textfields for all possible attributes given that node's type.

sksastry commented 12 years ago

[Issue #154]: Attributes allowed as part of NodeType definition are not shown when editing nodes Replaced select query with a simpler NodeValue.findAll(...). Now the UI shows the correct set of attributes for create and edit of nodes.