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

Upgrades - DM folder character restraint does not properly carry over after upgrading to 7.0 DXP from ee-6.1

    Details

    • Fix Priority:
      5
    • Sprint:
      Bixbite

      Description

      Before Portal 7.0, the characters

       [ ] 

      are invalid inputs for a folder name. The error message associated with the user error reflects this:

      The Folder Name cannot contain the following invalid characters: \ // : * ? " < > | [ ] ../ /... 
      

      In Portal 7.0, the characters

       [ ] 

      are accepted as a valid input, and they were removed from the error message:

      The Folder Name cannot contain the following invalid characters: \ // : * ? " < > | ../ /... 
      

      After upgrading from 6.1 EE to 7.0, the old character restraint is still intact. A user cannot add a folder with

       [ ] 

      in its name even though a user is now supposed to be able to.

      Steps to reproduce:

      1. Upgrade 6.1 database to 7.0
      2. Start 7.0 portal
      3. Go to Liferay > Content > DM
      4. Add a new folder with title "DM Folder?"

      Expected results:
      Error message appears without

       [ ] 

      See screenshot.

      A user is supposed to be able to add a folder called

       DM Folder [ ] 

      Actual results:
      Error message appears with

       [ ] 

      See screenshot.

      A user is unable to add a folder called

       DM Folder [ ] 

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.
      Portal 7.0 DXP B2
      Upgrading from 6.1.30

        Attachments

        1. 7.0DXP_B2_after_upgrade_from_6.1EE.PNG
          7.0DXP_B2_after_upgrade_from_6.1EE.PNG
          46 kB
        2. characterrestraint.mp4
          822 kB
        3. collab2_61305_mysql55.zip
          506 kB
        4. ee-7.0.x.PNG
          ee-7.0.x.PNG
          55 kB
        5. Master.PNG
          Master.PNG
          53 kB

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            austin.chiang Austin Chiang
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 46 weeks, 2 days ago

                Packages

                Version Package
                7.0.1 CE GA2