[MGNLPER-142] As a search result, a resource file opens with empty content in a version dialog Created: 28/Jul/20 Updated: 23/Aug/22 |
|
| Status: | Open |
| Project: | Periscope |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Martin Drápela | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| 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: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
| Team: |
| Description |
|
Seen in 6.2.3 CE (Snapshot: 2020.07.20 22:11:50) Build : 20. July 2020 (rev. 11d8a87550c9e ...) Steps to reproduce: 1) In the Resource Files app, open and save for example /travel-demo/templates/macros/imageResponsive.ftl (making no edits in the resource, just to let it be picked up by the search result supplier.) 2) Go back to the Admincentral home and in the Find bar, type responsive:
You'll see this among the results:
3) Click the result. It opens with no content and "version" in the URL:
The log shows: 2020-07-28 07:32:53,246 WARN urceloader.classpath.LegacyClasspathResourceOrigin: Loading contents of a resource at [/mgnl-resources/ace/mode-ftl.js] via legacy LegacyClasspathResourceOrigin. Please update your resources. For further details see https://documentation.magnolia-cms.com/display/DOCS/Resources 4) In the URL, change "version" to "view" (or "edit"), and you get the expected content:
|