• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.3.1, 3.4
    • 2.10.3, 3.0, 3.0.1, 3.0.2
    • None
    • Office Connector 1.5

      Bug Description

      When user imports a Word Document using Doc Import feature, they are allowed to use the Advanced feature whereby they can perform various configuration changes. One of the changes that they can perform would be changing the Page Title. However, there's no validation check if the Root page title is left empty. Due to this, Confluence can have a page without title which is not standard across the application.

      Further findings
      1. When using MySQL, a page inserted to Confluence by employing this bug, will result in an entry in the content table with an empty string in the title field
      2. However, when using Oracle, since Oracle doesn't support empty string, it will store it as null. This results in various problem such as this, problem deleting the page and even editing the page.
      Screenshots

        1. DocImportAdvanced.png
          DocImportAdvanced.png
          75 kB
        2. EmptyPageTitle.png
          EmptyPageTitle.png
          94 kB
        3. PageNoTitle.png
          PageNoTitle.png
          80 kB
        4. PageTreeEmpty.png
          PageTreeEmpty.png
          87 kB
        5. docImportWithoutTitle.png
          docImportWithoutTitle.png
          5 kB

            [CONFSERVER-17414] Doc Import allows empty title

            How is it possible I can still import pages with empty title using version 1.18 of the Office Connector.
            I can reproduce with the exact same steps as shown in the attachments. The only addition is an additional step with a warning which will not prevent the standard user from still importing the page.

            Karola Schaeuble added a comment - How is it possible I can still import pages with empty title using version 1.18 of the Office Connector. I can reproduce with the exact same steps as shown in the attachments. The only addition is an additional step with a warning which will not prevent the standard user from still importing the page.

            Joe Clark added a comment -

            Fixed in Office Connector 1.12

            Joe Clark added a comment - Fixed in Office Connector 1.12

            This bug can lead to more serious issues if combined with CONF-20097...

            Bernie Durfee added a comment - This bug can lead to more serious issues if combined with CONF-20097 ...

            This issue just bit us, except with a twist. A user created a page with no title using the Doc Import feature. The user then found the URL, edited the page and gave it a title. Confluence proceeded to update all attachment links in the space that didn't specify a page for the attachment. It changed everything...

            [some attachment|^attachment.xyz]

            ...to...

            [some attachment|newpagename^attachment.xyz]

            ...thus breaking almost all attachment links in the space!!

            Bernie Durfee added a comment - This issue just bit us, except with a twist. A user created a page with no title using the Doc Import feature. The user then found the URL, edited the page and gave it a title. Confluence proceeded to update all attachment links in the space that didn't specify a page for the attachment. It changed everything... [some attachment|^attachment.xyz] ...to... [some attachment|newpagename^attachment.xyz] ...thus breaking almost all attachment links in the space!!

            Hello,

            We believe this is a serious issue, especially for non technical users of Confluence,
            as a page without title cannot be removed from the GUI.

            Could you please consider implementing validation check for root page upon Doc Import in
            next release?

            Best regards,
            JP Support

            G2G JPSupport added a comment - Hello, We believe this is a serious issue, especially for non technical users of Confluence, as a page without title cannot be removed from the GUI. Could you please consider implementing validation check for root page upon Doc Import in next release? Best regards, JP Support

              akdominguez Katrina Walser (Inactive)
              sjayaraman Sashidaran Jayaraman [Atlassian]
              Affected customers:
              3 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: