Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Unable to copy default metadata schema in AEM Assets

Avatar

Level 9

When I try to create my own metadata schema from the default metadata schema form, I get the following error message

 
 Mario248_0-1676475324084.png

 

I checked the crxde for the same and I dont see default metadata scheme form. I thought it could be related to permission but I have full admin rights.

Mario248_2-1676475352872.png

 

 

 Can anyone tell me what could be the issue?

 

 
1 Accepted Solution

Avatar

Employee

Also , is it on a specific env as this works absolutely fine on few env I've checked.

5 Replies

Avatar

Employee

Can you share url where you are trying to create and copy default schema. As for the default schema node in crxde under /conf is not present unless you want to override default schema itself. so , there seems no issue from crxde perspective.Is it cloud? 

Avatar

Level 9

Here is the screenshot 

 

Mario248_1-1676476735251.png

 

 

yes, it is on AEMaaCS.

Avatar

Level 9

I get below error in logs,

 

content/schemaeditors/forms/defaultDestination Form: /conf/global/settings/dam/adminui-extension/metadataschema/testdel
javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /conf/global/settings/dam/adminui-extension/metadataschema[[nt:base]]: No matching definition found for child node testdel with effective type [sling:OrderedFolder]
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:226) [org.apache.jackrabbit.oak-api:1.44.0.T20220909141113-2457ffc]
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:213) [org.apache.jackrabbit.oak-api:1.44.0.T20220909141113-2457ffc]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:711) [org.apache.jackrabbit.oak-jcr:1.44.0.T20220909141113-2457ffc]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:532) [org.apache.jackrabbit.oak-jcr:1.44.0.T20220909141113-2457ffc]
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$9.performVoid(SessionImpl.java:457) [org.apache.jackrabbit.oak-jcr:1.44.0.T20220909141113-2457ffc]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:280) [org.apache.jackrabbit.oak-jcr:1.44.0.T20220909141113-2457ffc]

Avatar

Employee

Also , is it on a specific env as this works absolutely fine on few env I've checked.