VM for Space Details Macro Has an Error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.2
    • Affects Version/s: 4.0
    • Component/s: None
    • Environment:

      Initially seen in Windows 64 bit Installer for Confluence 4.0, any browser. Has been replicated in Confluence 3.4.9

      There is an unclosed div in the vm called by the {space-details} macro.

      <confluence dir>\confluence\spaces\viewspacedetails.vm

      It's missing the closing tag for this div: <div style="padding: 8px;">

      This causes formatting issues with the following content, noticeably when there are comments on the page. The comments have list numbering because the missing closing div tag brings them inside the div classed 'wiki-content', and this negates the css that hides the list numbering for comments.

      I have checked and seen this error in viewspacedetails.vm for Confluence 4.0, 3.4.9, 3.0.1 so possibly affects all versions from 3.0 to 4.0

      Workaround

      Edit the confluence/spaces/viewspacedetails.vm file and append the following line to the end:

      </div>
      

              Assignee:
              Niraj Bhawnani
              Reporter:
              Sharon Hinde
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: