Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-67555

Not able to delete labels on a copied page

    XMLWordPrintable

Details

    Description

      Issue Summary

      Not able to delete labels on a page which is copied from another page with existing labels.

      Environment

      Confluence Cloud

      Steps to Reproduce

      1. Create a page and add a label to it
      2. Create a copy of the page which created in step 1.
      3. The new copy will have the label added to the original page.
      4. Try to delete the label in the new copy created in step 2.

      Expected Results

      User should be able to remove the labels without any error.

      Actual Results

      User is getting 'Error: GraphQL error: Unexpected HTTP status: 404' in the UI.

      Notes

      User is getting the same error when tried to delete the label from the original page as well.

      Workaround

      1. Access the page
      2. Open browser's console (right click on the page > inspect)
      3. Select Console tab
      4. Paste the code below (Remember to replace the instance name, contentid and label name):
         fetch(
            "https://{instance}/wiki/rest/api/content/{content_id}/label/{label_name}",
            {
                "credentials":"include",
                "headers":{
                    "Content-Type": "application/json"
                },
                "method":"DELETE"
            }
        ).then((resp) => function(response){
            console.log(response);
        }); 
      5. Press Enter

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vvisanakarrala Veera (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: