Getting error when trying to save any page property | Community
Skip to main content
Level 2
July 9, 2022

Getting error when trying to save any page property

  • July 9, 2022
  • 5 replies
  • 1372 views

Hello,Using Aem 6.4.8, when trying to modify/save/add any page property it is throwing following error org.apache.sling.api.resource PersistanceException :Invalid Date.

Anyone faced similar issue before?  -Thanks in advance

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

5 replies

Manu_Mathew_
Community Advisor
Community Advisor
July 10, 2022

@kavya6875 Can you check the permission- give rights to group everyone .

Can you try and save as admin and see if that works?

ManviSharma
Adobe Employee
Adobe Employee
July 10, 2022

Hi,

>The reason if this exception was in given rights to users. Try removing and giving rights to group , will surely fix the issue.

 

Regards,

Manvi Sharma

Jagadeesh_Prakash
Community Advisor
Community Advisor
July 11, 2022

@kavya6875 

Did you recently update the AEM version to 6.4? I am expecting that there should be some date format issue on the page after the update. You might need to find that custom date and change the format accordingly

Sachin_Arora_
Community Advisor
Community Advisor
July 11, 2022

It looks like some property on the page is not having a valid date format. Please confirm if its happening after upgrade of AEM?

Just for testing purpose, remove existing date type properties and then try to update title of page in CRXDE. If it saves without any error then issue is with the format of the date type property which is already present on the page.

 

Link of similar issue with different Exception :
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/granite-datepicker-s-valueformat-property-throws-errors-does-not/m-p/292722#M18269

Kavya6875Author
Level 2
July 11, 2022

@sachin_arora_ 

Tried by deleting existing date property and checked.. It is not getting saved.. And still shows same error.

 

There was no version upgrade recently.

Sachin_Arora_
Community Advisor
Community Advisor
July 11, 2022

Please share stack trace. It will help in checking from where PersistanceExceptionInvalid Date is getting initiated. 

SantoshSai
Community Advisor
Community Advisor
July 11, 2022

Hi @kavya6875 ,

It could be the reason that your upgraded project uses classic dialogs in touch UI.

Santosh Sai