[MGNLUI-2981] NPE is logged when adding new favorite entry and user is not superuser Created: 06/Jun/14 Updated: 09/Feb/17 Resolved: 23/May/16 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.4.3 |
| Fix Version/s: | 5.3.15, 5.4.7, 5.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Milan Divilek | Assignee: | Hieu Nguyen Duc |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 5d 6.5h | ||
| Original Estimate: | 4d | ||
| 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
|
||||||||
| Release notes required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | Saigon 45 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
| Comments |
| Comment by Magnolia International [ 23/Sep/14 ] |
|
Seeing this on 5.3.2 when favorite is created, and every time the owner of that favorite logs in |
| Comment by Tomáš Gregovský [ 24/Sep/14 ] |
|
same on corporate website 5.3.2 |
| Comment by Michiel Meeuwissen [ 11/Jan/16 ] |
|
We see this issue too. It seems that every attempt to make a favorite results in rubbish in our logs. |
| Comment by Hieu Nguyen Duc [ 28/Apr/16 ] |
|
1) The cause is JcrItemUtil#getJcrItem() can't get item from UUID so it throws ItemNotFoundException. 2) Solution: Get item id for FavoritesEntry using another way id = nodeAdapter.getItemId().getUuid(); |
| Comment by Hieu Nguyen Duc [ 09/May/16 ] |
|
The root cause is user "eric" doesn't have permission on "profiles" workspace. Because:
This is what I've tried:
But we need a way to set the path for every user respectively. |
| Comment by Hieu Nguyen Duc [ 13/May/16 ] |
|
I've thought out a solution that we could create a task to set permissions on "/<user>/favorites/bookmarks" of "profiles" workspace for existing users. |
| Comment by Mikaël Geljić [ 20/May/16 ] |
|
So after further consideration, as much as we (w/ apchelintcev) would like to see proper profiles ACLs happening, it's a longer shot with should be estimated and prioritized if we really wanted to (see linked concept for preferences and user profile). |