dtolabs / yana2

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

Required property for a NodeAttribute needs to be enforced when creating or editing a node. #165

Open sksastry opened 12 years ago

sksastry commented 12 years ago

Proceed to create a node and you will observe that a "*" appears next to attributes that are required. However, the GUI and API allows for the Node to be created if the attribute is left as an empty string.

orubel commented 12 years ago

The filter regex for string I believe would allow this; a null value is valid. It is only testing for STRING ... not 'ISNULL' which is an entirely different test. Perhaps it COULD BE null.

This brings up a good point of providing a 'isNull' field for attribute or filter all depending on how you want to do this.