Highlighted

Cannot delete a page on AEM Websites

Avatar

Avatar

braullio_soares

Avatar

braullio_soares

braullio_soares

23-01-2018

Hey guys, My project is kind of large and I'm getting some issues on there.

When attempting to delete pages there is an exception thrown.

Steps:
1) deactivate page
2) select delete
3) exception error is thrown
4) refresh page

5) page is not deleted
image-2018-01-05-11-23-26-272.png

Here some logs that I got.

08.01.2018 14:14:31.101 *ERROR* [10.158.250.121 [1515442469366] POST /bin/wcmcommand HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.

javax.jcr.nodetype.ConstraintViolationException: No matching property definition: path = /content/sites/atge/www_adtalem_com/newsroomtestamb2

08.01.2018 14:16:12.830 *INFO* [10.158.250.121 [1515442572321] POST /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.core.impl.PageManagerImpl Created new version 1.0 for /content/sites/atge/www_adtalem_com/audratest

08.01.2018 14:16:13.019 *WARN* [Thread-447] com.day.cq.wcm.core.impl.WCMAdapterFactory Unable to adapt resolver to requested type com.day.cq.wcm.api.Page

08.01.2018 14:16:13.020 *WARN* [Thread-447] org.apache.felix.eventadmin Service [DVU Replication Handler,3629] EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=com/day/cq/replication] | [org.osgi.service.event.EventHandler] | Bundle(com.devrygroup.services [785])] (java.lang.NullPointerException)

java.lang.NullPointerException: null

Replies

Highlighted

Avatar

Avatar

edubey

Total Posts

1.5K

Likes

264

Correct Answer

392

Avatar

edubey

Total Posts

1.5K

Likes

264

Correct Answer

392
edubey

23-01-2018

Can you upload the image again, currently its linked to some of your internal atlassian platform.

Highlighted

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

24-01-2018

Hi,

Do you get a similar error when you try deleting the page from backend, i.e, crxde or explorer?

Highlighted

Avatar

Avatar

mjb54261515

Avatar

mjb54261515

mjb54261515

24-01-2018

Can you pls check the permissions for the user. I think the user do not have delete permissions. Can you pls conform.

The image uploaded is not loading can you pls re upload.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

24-01-2018

Can you perform this with Admin account?

Highlighted

Avatar

Avatar

braullio_soares

Avatar

braullio_soares

braullio_soares

24-01-2018

HI edubey, Sure.

image-2018-01-05-11-23-26-272.png

Highlighted

Avatar

Avatar

braullio_soares

Avatar

braullio_soares

braullio_soares

24-01-2018

Thanks for answering me. So, when I delete the page in the CRX it works. This issue just occurs on the AEM Websites

Highlighted

Avatar

Avatar

braullio_soares

Avatar

braullio_soares

braullio_soares

24-01-2018

I'm using an admin account.

Highlighted

Avatar

Avatar

braullio_soares

Avatar

braullio_soares

braullio_soares

24-01-2018

Yes, I'm using an admin account with all rights