Expand my Community achievements bar.

Property got deleted from a page

Avatar

Level 3

Hi,

 

One of the page property got deleted, we are unable to find how that is deleted.

We couldn't see any POST actions in access logs.

how can a property be deleted from a jcr:content of a page without having access to CRX/DE?(this property default-value is coming from template itself).We can not delete the property via page properties. 

 

I think we can only delete this property via CRX/DE.

Our business is not having CRX/DE access and this is deleted and started occurring this issue.

 

we have checked Author instance access logs and checked for POST actions for that particular page. Couldn't find any.

 

Could you please help us how this might have deleted from "jcr:content" without having CRX/DE access.?

is there any other way to find this out or is there any other way to delete this property from jcr:content of a page.?

 

Thank you in advance.!!

8 Replies

Avatar

Community Advisor

Hi @Aj_9625932 

Here are some few points to consider :  

    1. Delve into Replication and Workflows:

      Replication: Examine your replication setup thoroughly. Look for any scheduled or manual replications that might have overwritten the page from another environment. Investigate potential inconsistencies in replication agents or transports that could be inadvertently pulling content without the necessary property.

      Workflows: Scrutinize all active workflows associated with the affected page or similar pages. Pay special attention to workflow steps that could be modifying properties, particularly those triggered by specific events like page publish or unpublish. Consider temporarily disabling any workflows that seem suspicious to isolate the issue.

    2. Utilize Version History and Logs:

      Version History: Utilize AEM's version history feature to pinpoint the precise version where the property disappeared. Conduct a thorough analysis of the differences between that version and the current one to understand the changes that may have led to the deletion.

      Error & Audit Logs: Dive into AEM's error.log for any anomalies around the time of the incident. Pay close attention to keywords related to JCR, properties, or the specific page path. If available, leverage audit logs to identify user activities or automated processes that might have altered the page properties.

    3. Investigate Custom Code (if applicable):

      If custom components or scripts interact with the affected page, conduct a meticulous review of their codebase. Search for any logic that could potentially delete the property, even inadvertently. Consider augmenting the code with logging or debug statements to trace its execution and identify potential issues.

    Additional Tips:

    • Isolate the Issue: Attempt to replicate the issue in a controlled environment such as a test page or development setup. This approach can help in narrowing down the cause and devising appropriate solutions.

    • Review Security Configurations: Double-check user permissions and access controls to ensure that roles or workflows aren't inadvertently granting unexpected modification capabilities on page properties.

    By following these steps and tips diligently, you can methodically uncover the root cause of the property deletion issue in your AEM environment and take appropriate corrective actions.

    Thanks 

Avatar

Community Advisor

@Aj_9625932 : Did this occur for one page alone? or happening continuously  for other pages as well?

Avatar

Level 3

Only for 1 page. it is not happening continuously. But we should find the root cause so that we can avoid occurring this issue in furure.

Avatar

Community Advisor

Hi @Aj_9625932 
Please check following :

1. Is property is getting deleted once page is created or later?

2. Is it happening only for new page or old pages as well?

3. Is there any event listeners to listen and delete this property?



Arun Patidar

Avatar

Level 3

1. Is property is getting deleted once page is created or later?

The issue we have faced is on an old page.
for newly created pages, we are having this value and no issue.

 

2. Is it happening only for new page or old pages as well?

This is the first time we faced this issue. only on a old page.

 

3. Is there any event listeners to listen and delete this property?

No.

Avatar

Community Advisor

Hi @Aj_9625932 
From where this property was added to old/new pages? From component or from templates(static/dynamic)?



Arun Patidar

Avatar

Community Advisor

Hi @Aj_9625932 
Can you please post the property which is getting deleted. It would be best if you can post the comparison of pagecontent node properties between the state before property deletion(Maybe you have backup of that page somewhere) and the state after deletion.


Avatar

Administrator

@Aj_9625932 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni