Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-482

SaveAssetFormAction setNodeName method doesn't work under specific circumstances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.2
    • 2.0.1
    • DAM App
    • None

      In the setNodeName method it is assumed, that the jcr:content node is always the first subnode.
      Node imageNode = (Node) node.getNodes().next();

      Instead, the node should be selected by name, in case that there are other subnodes present.

        Acceptance criteria

              ehechinger Eric Hechinger
              bvass Bence Vass
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD