[MAGNOLIA-6672] Exceptions after YAML defined template is removed Created: 19/May/16 Updated: 09/Feb/17 Resolved: 27/May/16 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.4.7 |
| Fix Version/s: | 5.4.7, 5.5 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Christopher Zimmermann | Assignee: | Aleksandr Pchelintcev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| 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
|
||||||||||||||||
| Sprint: | Basel 46 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Description |
|
After removing a template definition, exceptions are thrown in log. This does not happen in 5.4.6 To reproduce:
2016-05-19 10:50:17,383 ERROR info.magnolia.dirwatch.DirectoryWatcher : Exception when executing callback for quotation-component: Runtime: Last modified time could not be retrieved for path FileSystemResource{origin=filesystem,path=/quotation-component/dialogs/components/quotation.yaml,file} : java.nio.file.NoSuchFileException: /Users/czimmermann/demos/light-dev/angular/magnolia-5.4.7-SNAPSHOT/apache-tomcat-7.0.64/webapps/magnoliaAuthor/../../../../light-modules/quotation-component/dialogs/components/quotation.yaml java.lang.RuntimeException: Last modified time could not be retrieved for path FileSystemResource{origin=filesystem,path=/quotation-component/dialogs/components/quotation.yaml,file} : java.nio.file.NoSuchFileException: /Users/czimmermann/demos/light-dev/angular/magnolia-5.4.7-SNAPSHOT/apache-tomcat-7.0.64/webapps/magnoliaAuthor/../../../../light-modules/quotation-component/dialogs/components/quotation.yaml at info.magnolia.resourceloader.file.FileSystemResourceOrigin.getLastModified(FileSystemResourceOrigin.java:193) at info.magnolia.resourceloader.file.FileSystemResourceOrigin.getLastModified(FileSystemResourceOrigin.java:71) ... Caused by: java.nio.file.NoSuchFileException: /Users/czimmermann/demos/light-dev/angular/magnolia-5.4.7-SNAPSHOT/apache-tomcat-7.0.64/webapps/magnoliaAuthor/../../../../light-modules/quotation-component/dialogs/components/quotation.yaml at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) |
| Comments |
| Comment by Christopher Zimmermann [ 19/May/16 ] |
|
"Thematically" related to |