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

Duplicate category in UpgradeJournalArticleType when database case sensitive

    Details

      Description

      Steps to Reproduce:

      1. Create a database with a case sensitive collation, for example utf8_bin
      2. In a 6.2 add the following property:
        journal.article.types=blogs,Blogs
        
      1. Start the portal.
      2. Create an article, choosing in Categorization the first "Blogs" entry as article type.
      3. Create a second article, choosing in Categorization the second "Blogs" entry as article type.
      4. Perform an upgrade.

       

      Expected Results:

      The upgrade should finish without exception.

       

      Actual Results:

      The upgrade finishes with an exception like the following one:

      Caused by: com.liferay.asset.kernel.exception.DuplicateCategoryException: There is another category named blogs as a child of category 0
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Joel Garman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 30 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.10.13 DXP SP13
                  7.0.X
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master