Uploaded image for project: 'Content Tags'
  1. Content Tags
  2. CONTTAGS-106

New asset name not filled correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.0.3
    • 2.0.2
    • None

    Description

      Steps to reproduce

      1.  Upload a new asset using upload asset action
      2.  Fill name field
      3. Upload new asset
      4. Go to jcr browser to check the new asset node name

       

      Expected results

      The asset node name must be the given name in the form when filling the field or the name of the uploaded file

      Actual results

      Untitled is set as node name. This is confusing when it comes to perform searches within the assets tree view

      Workaround

      For the problem with asset searches, add a column referencing the property name instead of jcrname

      Development notes

      In info.magnolia.dam.app.action.JcrAssetCommitAction.write(), when checking if item is new, item.isNew(), it returns false so the logic to assign a proper name is never executed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                jayala Jonathan Ayala
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1h 13m
                      1h 13m