Hi,
I added rte(rich text editor) to meta data properties of dam asset image. But I'm not able to edit nor save the properties as it is throwing error. It shows unable to edit properties insuffucient permissions.I checked permissions and all look good I have access and I'm able to save other properties except anything from rich text editor. When I checked logs I found this error apparently its trying to create textIsRich property at root level node of image which is not allowed. Im attaching logs here is there any workaround for this or tell it to save this property inside the child node.
jcr:primaryType | Name | dam:Asset |
29.01.2025 15:36:38.973 *WARN* [[0:0:0:0:0:0:0:1] [1738145198965] POST /content/***/*****/****/**/***/**/image.svg HTTP/1.1] org.apache.sling.servlets.post.impl.SlingPostServlet Exception while handling POST on path [/content/***/*****/****/**/***/**/image.svg] with operation [org.apache.sling.servlets.post.impl.operations.ModifyOperation]
java.lang.IllegalArgumentException: Value 'true' for property 'textIsRich' can't be put into node '/content/***/*****/****/**/***/**/image.svg'.
at org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:76) [org.apache.sling.jcr.resource:3.3.2]
at org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:37) [org.apache.sling.jcr.resource:3.3.2]
at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.store(SlingPropertyValueHandler.java:511) [org.apache.sling.servlets.post:2.6.0]
at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:257)
Caused by: javax.jcr.nodetype.ConstraintViolationException: No matching property definition: textIsRich = true
at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.setProperty(NodeDelegate.java:497) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$36.perform(NodeImpl.java:1417) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$36.perform(NodeImpl.java:1404) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:229) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.internalSetProperty(NodeImpl.java:1404) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.setProperty(NodeImpl.java:377) [org.apache.jackrabbit.oak-jcr:1.70.0]
at org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:73) [org.apache.sling.jcr.resource:3.3.2]
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @MohammadUsman ,
You can try below steps to resolve this issue.
Regards,
Hi @MohammadUsman ,
You can try below steps to resolve this issue.
Regards,
@MohammadUsman Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies