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

Adding Custom Fields to DM through setting extraSettings in Mysql doesn't work

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
    • Fix Version/s: 6.2.X EE, 7.0.0 M3
    • Component/s: DM, Portal Configuration
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 5960ad31672aa8f1e88fae5c6533ab052ec71465.
    • Fix Priority:
      3

      Description

      After adding custom fields to the DM portlet via commands in Mysql, no custom fields appear on the document.

      Steps to reproduce:

      1. Add Document1
      2. Add Document2
      3. Sign Out and shut down the App Server
      4. Run the following lines in MySQL:
        use lportal; 
        update DLFileEntry set extraSettings = 'author=Test Test\ntype=current' where title='Document1';
        update DLFileVersion set extraSettings = 'author=Test Test\ntype=current' where title='Document1';
        update DLFileEntry set extraSettings = 'editor=Test Test\ntype=legacy\nprice=1.99' where title='Document2';
        update DLFileVersion set extraSettings = 'editor=Test Test\ntype=legacy\nprice=1.99' where title='Document2';   
        
      5. Start the App Server and sign in
      6. Convert extra settings

      Expected result:
      There will be dropdown menus where extra settings can be converted.

      Actual result:
      There is no difference in the portal from before shutting the app server down. No dropdown menus appear to change extra settings.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 29 weeks, 6 days ago

                Packages

                Version Package
                6.2.X EE
                7.0.0 M3