[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: |
|
||||||||||||
| 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. |