dewarim / cinnamon

Cinnamon CMS Server
Other
13 stars 7 forks source link

Metadata may not contain elements named metaset #185

Open boris-horner opened 6 years ago

boris-horner commented 6 years ago

When saving metadata (setmeta command) and inside one of the metasets, there is an element named "metaset", the server returns: "java.lang.NullPointerException: Cannot invoke method getText() on null object"

The metadata is saved, though (unclear, what exactly fails - perhaps indexing?)

Workaround: I renamed the element to metaset_name

However, I assume, the server uses XPath like //metaset, and finds the wrong one. Better solution, also in the sake of performance: /meta/metaset.