[MGNLSTK-1043] STKTemplatingFunctions#getAsset should no longer query DamSupport if an asset wasn't found in Dam Created: 06/Dec/12  Updated: 11/Feb/13  Resolved: 06/Dec/12

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.5
Fix Version/s: 2.5

Type: Bug Priority: Critical
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLDAM-54 Fix Exceptions when rendering demo-pr... Closed
is related to MGNLSTK-1044 Cleanup/Complete STKTemplatingFunctio... Closed
Template:
Acceptance criteria:
Empty

 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.


Generated at Mon Feb 12 07:32:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.