Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-46553

After upgrade to 6.2, Liferay Sync has problems when DL contains preexisting documents with reserved names

Details

    Description

      After Liferay upgrade to 6.2, Liferay Sync has problems when DL contains documents with reserved names.

      This issue at 6.2 was fixed at LPS-37352: during file creation, new invalid patterns were added and title verification logic was rewritten, moving its configuration to portal.properties file.
      So, since 6.2, it is not possible to create new invalid documents, but preexisting documents with wrong names created at previous versions of Liferay remain unmodified, causing troubles to Liferay Sync (version 1.2.x)

      The problem should be addressed at VerifyDocumentLibrary functionality, at checkTitles() function (created at LPS-30519):

      • Current behavior: this function checks the document titles, replacing only the invalid characters "/" and "\".
      • Correct behavior: the function should check the same invalid patterns of portal.properties added at LPS-37352,(dl.char.blacklist, dl.char.last.blacklist, dl.name.blacklist) in order to fix invalid documents after upgrade to 6.2.

      Attachments

        Issue Links

          Activity

            People

              michael.saechang Michael Saechang
              jorge.diaz Jorge Diaz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 20 weeks ago

                Packages

                  Version Package
                  7.0.0 Alpha 2