Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1043

STKTemplatingFunctions#getAsset should no longer query DamSupport if an asset wasn't found in Dam

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.5
    • 2.5
    • None
    • None

    Description

      Since 5.0 the assets defining the properties keep an UUID. If Dam cannot find an Asset with that Id we already log an exception. There's no point in then querying old DamSupport with that property as this will only result in yet another exception because DamSupport will look for an registered handler with that UUID as a key - this is guaranteed to fail.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                dlipp Daniel Lipp
                dlipp Daniel Lipp
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: