[MGNLDAM-614] Magnolia admin console not available after set wrong parameter Created: 18/Aug/15  Updated: 12/Mar/21  Resolved: 12/Mar/21

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM Core
Affects Version/s: 2.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Tim Assignee: Unassigned
Resolution: Won't Fix 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
Date of First Response:

 Description   

Open config app. Go to path '/modules/dam/config'. And add 'downloadPath' (to change default path '/dam/') property with no value. I just do not have time to add value, module starts to restart. Then you will see this lines in console:

2015-08-18 14:27:23,943 INFO info.magnolia.module.ModuleManagerImpl : Stopping module dam
2015-08-18 14:27:23,961 INFO info.magnolia.module.ModuleManagerImpl : Starting module dam

Press F5 in browser to see this lines

2015-08-18 14:27:30,765 WARN info.magnolia.dam.core.download.DamDownloadServlet: No asset could be found for the following path /
2015-08-18 14:27:30,765 WARN info.magnolia.dam.core.download.DamDownloadServlet: Provider jcr can not support assets search based on path

Voilà. That's all. You never get to console again. You can't change value or remove property. You can't change it in DB.



 Comments   
Comment by Roman Kovařík [ 12/Mar/21 ]

Workaround: use YAML to decorate the module config

https://docs.magnolia-cms.com/product-docs/Modules/Module-configuration.html#_decorating 

Generated at Mon Feb 12 05:01:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.