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

All imported documents of the same type get the same metadata

    Details

      Description

      When importing multiple documents of the same doc type, they are all getting the same metadata assigned.

      Steps to reproduce on a fresh install of GA1:

      1. Navigate to the Document and Media Library in the Control Panel of the default site.
      2. Manage -> Document Types
      3. Add
      4. Provide Name and Description, add a Text Field and update Field Label and Name
      5. Save, close Document Type pop-up
      6. Add -> Doc Type you just created
      7. Select a file, enter title and description, enter 'ONE' for the text field defined in step 4, click Publish.
      8. Add -> Doc Type you just created
      9. Select a different file, enter title and description, enter 'TWO' for the text field defined in step 4, click Publish.
      10. Click Wrench in the upper right hand corner of the Document and Media portlet and select Export/Import
      11. Accept the defaults and click Export
      12. Click Sites under Portal heading in the Control Panel and create a new site
      13. If it's not already selected, select the new site in the context selecter in the content section of the control panel and navigate to the Document and Media portlet. Note the custom document type you created in the default site doesn't exist in this site.
      14. Click Wrench in the upper right hand corner of the Document and Media portlet and select Export/Import
      15. Select Import tab and choose the LAR you just created.
      16. Accept the defaults and click Import
      17. Click back link and note that the custom document type was created and the two documents are present.
      18. Click on the first document and note that the value for the Text field created in step four is ONE. Click the back link.
      19. Click on the second document and note that the value for the Text field created in step four is also ONE.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ginson.ren Ginson Ren
              Reporter:
              jeffrey.handa Jeffrey P. Handa
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 13 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2