UNDEFINED properties in node are not returned with the nodes returned by search result with ModeShape
Issue
- I noticed one thing in query functionality that UNDEFINED properties in node are not returned with the nodes returned by search result. Here is my CND similar to what we have,
[cldscp:CardResourceType]
- * (UNDEFINED)
- * (UNDEFINED) multiple
- test1 (string)
- test2 (string)
Now I create a node of the type cldscp:CardResourceType with following properties,
{
"test1":"value1",
"test2":"value2",
"test3":"value3",
"test4":"value4",
}
Now if I want to search this node by this query,
SELECT * FROM [cldscp:cardResourceType]
I get the Node but properties test3 and test4 which were defined as (UNDEFINED) are not retrieved within the Node. Do we have any way to fetch the UNDEFINED properties?
Environment
- Red Hat JBoss Modeshape 2.x, 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.