Missing languages property in /etc/tags | Community
Skip to main content
JeremyJud
Level 2
Mar 15, 2019 2:20 AM UTC

Missing languages property in /etc/tags

We are having a NullPointerException in /libs/cq/tagging/gui/components/tagedit/languagepicker/render.jsp because the property "languages" is missing in /etc/tags.

We are not able to add the property (tried crxde and curl) because of the node type, getting: javax.jcr.nodetype.ConstraintViolationException: No matching property definition: languages = [en]

How to fix it?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

arunpatidar
New Participant
Mar 15, 2019 2:38 AM UTC

Hi,

What version are you using? I tried in AEM 6.3, I am able to add property.

The /etc/tags/ is type of sling:Folder node and languages property is allowed there.

sling-Folder - Apache Sling - Apache Software Foundation

For testing I added languages property in a test node.

Translate
Arun Patidar
JeremyJud
JeremyJudAuthor
Level 2
Mar 15, 2019 2:51 AM UTC

Sorry forgot the version. It's an AEM 6.3, that was upgraded from an earlier version.

I tried on a fresh AEM on local and don't have any problem, but the property was already there to start with.

Translate
arunpatidar
New Participant
Mar 15, 2019 12:12 PM UTC

Hi,

Can you try to delete and and add again if possible or you can create a node of type sling:Folder and try to add there languages property.

Translate
Arun Patidar