Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-81849

Deleting pages repeatedly prompts for parent to be deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incorrectly Filed
    • Icon: Low Low
    • None
    • 7.13.7
    • Content - Attachments
    • None

      Issue Summary

      According to the previous tickets opened for this same request, the recommendation was to upgrade the Confluence version to version 7.4.5 or higher. However, even though currently in version 7.13.7, users are still experiencing this re-prompt of a "SPACE" deletion. 
      {{}}

      <product name=“Confluence” version=“7.13.7"/> 2

       

      This is reproducible in Data Center: no

      Steps to Reproduce

      1. N/A

      Expected Results

      N/A

      Actual Results

      Confluence remains prompted to delete the parent page as a follow-up when deleting a page. Analyzing the HAR file provided, a couple of 500 error messages were detected, and the below exception is thrown in the atlassian-confluence.log file:

      2023-01-06 20:44:32,042 WARN [http-nio-8090-exec-2] [plugins.synchrony.service.SynchronyContentService] runRecoveryInTransaction Could not reconcile content for restored. ID: 101908481 Caused by: java.lang.NullPointerException
      352023-01-06 20:44:32,043 ERROR [http-nio-8090-exec-2] [plugin.tablefilter.manager.AttachmentHelper] create Failed to store attachment
      362023-01-06 20:44:32,046 WARN [http-nio-8090-exec-2] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
      372023-01-06 20:44:32,047 ERROR [http-nio-8090-exec-2] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: Transaction rolled back because it has been marked as rollback-only
      382023-01-06 20:44:44,241 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-2019 in JIRA. Reason: 204 -
      392023-01-06 20:44:44,390 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-2020 in JIRA. Reason: 204 -
      402023-01-06 20:44:44,558 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-2018 in JIRA. Reason: 204 -
      412023-01-06 20:44:44,686 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-2021 in JIRA. Reason: 204 -
      422023-01-06 20:44:44,841 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-1986 in JIRA. Reason: 204 -
      432023-01-06 20:44:45,000 WARN [Jira remote link executor:thread-30] [plugins.jira.links.JiraRemoteLinkManager] lambda$executeRemoteLinkRequest$0 Failed to delete a remote link to ATLS-1987 in JIRA. Reason: 204 -
      44  

       

      Moreover, looking at the same log were detected several errors on SynchronyContentService, and several errors indicating an attempt to create an existing key were detected, as in the sequence. This \"SNAPSHOTS_pkey\ key isn't something native to Confluence and leads us to believe it's something from the created plugin.

      atlassian-confluence.log.5:2023-01-03 04:24:40,761 ERROR [Caesium-1-2] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job SearchAuditListener#SearchAuditListener jobWasExecuted failed to run
      2atlassian-confluence.log.5:2023-01-03 04:24:40,761 ERROR [http-nio-9090-exec-10] [atlassian.confluence.util.HtmlUtil] urlDecode Error while trying to decode URL /status
      3atlassian-synchrony.log:2023-01-04 15:39:30,142 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	 :cause "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|0.Ynr8CP3S-z0O_MSnaipN2Q.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-334140321) already exists."
      4atlassian-synchrony.log:2023-01-04 15:39:30,142 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	   :message "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|0.Ynr8CP3S-z0O_MSnaipN2Q.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-334140321) already exists."
      5atlassian-synchrony.log:2023-01-06 08:28:03,893 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	 :cause "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|0.YjSnTqh_IDq-aIsDIt1gZA.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-368530897) already exists."
      6atlassian-synchrony.log:2023-01-06 08:28:03,893 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	   :message "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|0.YjSnTqh_IDq-aIsDIt1gZA.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-368530897) already exists."
      7atlassian-synchrony.log.1:2023-01-01 18:46:32,158 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	 :cause "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|4.fHO6GIXI9N_MaikeJfqK9Q.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-149712668) already exists."
      8atlassian-synchrony.log.1:2023-01-01 18:46:32,158 DEBUG [251:StdOutHandler [/usr/java/jdk-11.0.10+9/bin/java]] 	   :message "ERROR: duplicate key value violates unique constraint \"SNAPSHOTS_pkey\"\n  Detail: Key (key)=(snapshot|4.fHO6GIXI9N_MaikeJfqK9Q.0|/Synchrony-a1624048-27a9-3a3e-be85-869d97fd97e4/confluence-149712668) already exists." 

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

              Unassigned Unassigned
              e03815e06264 Vinicius Benedini
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: