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

Editing the content by label macro variables breaks the How to Article template.

    XMLWordPrintable

Details

    Description

      Problem

      In space content, under blueprint How-to article template (Edited). If you manipulate the Content by Label macro. Then create a page from the edited How-to article template. The Content by Label macro is broken.

      Environment

      7.0.2 and 7.0.1

      Steps to Reproduce

      1. Edit How-to article template Space template on KB space
      2. Attempt to move, copy or cut and paste or remove and re-add built-in contentbylabel Macro variable
        1. I copy and pasted the macro variable. 
      3. Save template and create how-to article from template

      Expected Results

      moved, cut, copied or re-added variables will work the same as the untouched variables

      Actual Results

      only the completely untouched original variable will work. As soon as it's touched in any way, it breaks.

      Notes

      • Searched atlassian-confluence.log file and found the following:
        • //Didn't see other threads related to the issue. 
          2019-12-16 21:15:11,590 WARN [http-nio-8090-exec-2789] [synchrony.service.http.SynchronyResponseHandler] failed Synchrony external changes API call returned 401: {"type":"unauthorized-access","message":"Not authorized to access this resource."} content-id: 10225572 rev: null ancestor: null merges: {"confVersion":"115","trigger":"restored","type":"external"} generate-rev: true generate-reset: true -- url: /plugins/editor-loader/editor.action | traceId: 7beea9601409d2ca | userName: anonymous | referer: https://confluence.westernasset.com/pages/viewpage.action?pageId=10225572 2019-12-16 21:15:11,591 WARN [http-nio-8090-exec-2789] [plugins.synchrony.service.SynchronyContentService] runRecoveryInTransaction Could not reconcile content for restored. ID: 10225572 Caused by: com.atlassian.confluence.plugins.synchrony.model.SynchronyException: UNKNOWN_ERROR -- url: /plugins/editor-loader/editor.action | traceId: 7beea9601409d2ca | userName: anonymous | referer: https://confluence.westernasset.com/pages/viewpage.action?pageId=10225572 2019-12-16 21:15:11,591 WARN [http-nio-8090-exec-2789] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions: ->[com.atlassian.confluence.pages.DefaultPageManager.createOrFindDraftFor]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #710041408) -- url: /plugins/editor-loader/editor.action | traceId: 7beea9601409d2ca | userName: anonymous | referer: https://confluence.westernasset.com/pages/viewpage.action?pageId=10225572 2019-12-16 21:15:25,466 WARN [http-nio-8090-exec-2784] [xhtml.storage.macro.StorageMacroV2Marshaller] writeParameterValue Unhandled parameterType com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier for macro contentbylabel with value of com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@8157de7a -- space: 9994244 | url: /plugins/pagetree/naturalchildren.action | page: 11698524 | traceId: 9411c0921afdfbcb | userName: kyen | referer: https://confluence.westernasset.com/display/ITRISK/How+To+Articles | action: naturalchildren 2019-12-16 21:15:25,758 WARN [http-nio-8090-exec-2784] [xhtml.storage.macro.StorageMacroV2Marshaller] writeParameterValue Unhandled parameterType com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier for macro contentbylabel with value of com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@8157de7a -- space: 9994244 | url: /plugins/pagetree/naturalchildren.action | page: 11698524 | traceId: 9411c0921afdfbcb | userName: kyen | referer: https://confluence.westernasset.com/display/ITRISK/How+To+Articles | action: naturalchildren
          

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmadrid@atlassian.com Mark M
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: