|
2 possible solutions:
We could make the RegisterNodeTypeTask able to register types with property multiple set to true. Only this types will accept multiple values. What happens on existing types? In my opinion they are not using multiple and if they want to do it they must be updated by users.
We could update the NodeType dataItem to have the property multiple set to true. All types will accept multiple values. That could affect to user queries&code as in jcr specification says: "a multi-value property can have no values (i.e., be an empty array), whereas a single-value property either has a (non-null) value or does not exist."
|
|
I would lean toward the latter, myself. Troubleshooting seems like it gets more difficult if we don't know, for a given version of the data module, whether multi-value properties are enabled or not. Additionally, the difference between an empty array (for multi-value properties) and not existing (single-value properties) seems small and easily worked around. (Though, admittedly, making a change that may break existing code doesn't seem like the sort of thing that should go into a maintenance release.)
|
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.
|