Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      6

      Description

      1. Start Liferay in 6.1
      2. Add Documents and Media portlet
      3. Click Manage -> Document Types
      4. Add a new document type with the field "File Upload"
      5. Add a new document using the new type and upload something in the "File Upload" field
      6. Upgrade to 6.2, however, do not copy over data folder (or you can copy it over and just delete the file inside the data/document_library folder)
      7. You will get the attached stacktrace and upgrade will fail.

      Missing files is fairly common in real production servers. Should log the error and continue.

        Issue Links

          Activity

          Hide
          sergio.gonzalez Sergio Gonzalez added a comment -

          Just started reviewing :)

          Sent from GH.

          Show
          sergio.gonzalez Sergio Gonzalez added a comment - Just started reviewing :) Sent from GH .
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: a0dd56fa8cdf8a9b6b7f20762af72be0407c79df.

          Upgrade fails with missing document.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: b21468dfb9390cdfd29f37f3f56517a8184db2d4.

          Console cause error message and continue upgrade.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: a0dd56fa8cdf8a9b6b7f20762af72be0407c79df. Upgrade fails with missing document. Fixed on: Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: b21468dfb9390cdfd29f37f3f56517a8184db2d4. Console cause error message and continue upgrade.
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5.5.21. Portal ee-6.2.x EE GIT ID: 2ec5507b7d883d6e0fc2d42fd29f06b93ff7e58b.

          Console cause error message and continue upgrade.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.42 + MySQL 5.5.21. Portal ee-6.2.x EE GIT ID: 2ec5507b7d883d6e0fc2d42fd29f06b93ff7e58b. Console cause error message and continue upgrade.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 48 weeks ago

                Development

                  Subcomponents