Using versionOverride parameter, in-context content version comes with last version

XMLWordPrintable

    • Severity 3 - Minor

      When requesting a page with versionOverride=1 on a page with versions 1 and 2 like

      /wiki/pages/viewpage.action?pageId=1286880&versionOverride=1&embeddedContentRender=version-at-save

      We cannot:

      • use condition on a context's content.version (we think strongly it comes with incorrect value

      ex.

                  {
                      "condition": "entity_property_equal_to_context",
                      "params": {
                          "entity": "content",
                          "propertyKey": "cwc-publishing",
                          "objectName": "approvedVersion",
                          "contextParameter": "content.version"
                      }
                  }            
      
      • the iframe in an inline dialog gives us incorrect context again from the url's GET params:

              Assignee:
              Kate West-Walker (Inactive)
              Reporter:
              Ricardo Perez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: