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

Export a page in PDF makes profile picture macro too large

    XMLWordPrintable

Details

    Description

      Steps to replicate

      1. Install a fresh confluence 6.0.4/6.0.6/6.1.2
      2. upload a profile picture
      3. create a page with profile macro
        <p class="auto-cursor-target">
          <br/>
        </p>
        <table>
          <colgroup>
            <col/>
            <col/>
          </colgroup>
          <tbody>
            <tr>
              <th>column 1</th>
              <th>column 2</th>
            </tr>
            <tr>
              <td>
                <br/>
              </td>
              <td>
                <div class="content-wrapper">
                  <p>
                    <ac:structured-macro ac:macro-id="80d5beb0-c552-40a6-a6a4-cbcc42e6bad9" ac:name="profile-picture" ac:schema-version="1">
                      <ac:parameter ac:name="User">
                        <ri:user ri:userkey="4028465c518103a601518106ee2e0002"/>
                      </ac:parameter>
                    </ac:structured-macro>
                  </p>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="auto-cursor-target">
          <br/>
        </p>
        
      4. set a hostname for your local ip (example: m.com 192.168.2.144)
      5. change your confluence baseurl to the hostname, with the port : (m.com:8096)
      6. export the page to pdf

      Expected behavior:

      Actual behavior:

      Replicated on linux mint, windows 10, mysql

      Workaround
      Set to baseurl to direct ip, to bypass the proxy, and export

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          30 kB
        2. screenshot-2.png
          screenshot-2.png
          177 kB

        Activity

          People

            mbereznitsky Mark Bereznitsky
            wwong Wayne Wong (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: