Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Missing languages property in /etc/tags

Avatar

Avatar
Validate 1
Level 2
JeremyJud
Level 2

Likes

2 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
JeremyJud
Level 2

Likes

2 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
JeremyJud
Level 2

14-03-2019

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?

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,223 posts

Correct Reply

915 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,223 posts

Correct Reply

915 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

14-03-2019

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.

Screenshot 2019-03-15 at 3.33.11 AM.png

Avatar

Avatar
Validate 1
Level 2
JeremyJud
Level 2

Likes

2 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
JeremyJud
Level 2

Likes

2 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
JeremyJud
Level 2

14-03-2019

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.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,223 posts

Correct Reply

915 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,223 posts

Correct Reply

915 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

15-03-2019

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.