[MGNLDAM-58] Rendering any kind of image fails in the bundle (public instance) Created: 16/Nov/12  Updated: 11/Feb/13  Resolved: 06/Dec/12

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

Type: Bug Priority: Blocker
Reporter: Jan Haderka Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File stacktrace.txt    
Issue Links:
dependency
depends upon MAGNOLIA-4716 The AddPermissionTask stores an incor... Closed
duplicate
is duplicated by MGNLDAM-39 No images displayed in public instance Closed
relation
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   

See attached stacktrace for details.



 Comments   
Comment by Philipp Bärfuss [ 03/Dec/12 ]

In the stacktrace:
Caused by: java.lang.InternalError: Can't connect to window server - not enough permissions.

So it looks that there are problems if the system runs in headless mode.

Comment by Jan Haderka [ 03/Dec/12 ]

That could be, but since same test runs ok on 4.5.x we need to hunt down what was changed and what now requires such permissions. Many clients run server in headless mode so if 5.0 requires this to render images we need to know why and how to set it up.

Comment by Philipp Bärfuss [ 04/Dec/12 ]

Could be that the startup parameters of the EE bundle are not the same as for the CE bundle.

Comment by Daniel Lipp [ 06/Dec/12 ]

It's a permission thing - only superuser has rights to read Assets from DAM. That explains why the problem didn't show up when one was logged in the public instance as superuser.

Comment by Christopher Zimmermann [ 06/Dec/12 ]

Added install task in DamModuleVersionHandler to give read permissions to anonymous role on root node and all children on public instance.

Generated at Mon Feb 12 04:56:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.