[MGNLDAM-230] Eliminate trials to create assets from non mgnl:asset nodes Created: 23/May/13 Updated: 24/May/13 Resolved: 24/May/13 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Daniel Lipp | Assignee: | Daniel Lipp |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
When navigating e.g. to /demo-features/content-templates/article.html we get lots of warnings like: WARN info.magnolia.dam.providers.jcr.JcrAssetProvider : Node /demo-project/img/bk/Opener/wooden-toy-blocks/jcr:content is not of type mgnl:asset. We should fix our code or adapt demo-project content that creating assets is only executed on nodes of type mgnl:asset |
| Comments |
| Comment by Daniel Lipp [ 23/May/13 ] |
|
Btw - the warn message is wrong as it'll not only show up in case the node is not of type mgnl:asset. It should rather be: log.warn("Node '{}' is not of type mgnl:asset, or deleted and includeDelete is false.", NodeUtil.getNodePathIfPossible(assetNode));
as in getAssetIdentifierForPath(String)... |