[MAGNOLIA-5975] Versioning does not work if a workspace is not in the same repository as mgnlSystem and mgnlVersion Created: 23/Oct/14 Updated: 13/Jul/15 Resolved: 30/Jun/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.4, 4.5, 5.2, 5.3 |
| Fix Version/s: | 5.4 |
| Type: | Story | Priority: | Critical |
| Reporter: | Magnolia International | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | support | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||
| 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)
|
||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Roman Kovařík [ 31/Oct/14 ] |
|
Cause of the issue:
Solutions
|
| Comment by Jaroslav Simak [ 23/Feb/15 ] |
|
What has changed:
Feedback from Greg:
Those decorators are here to ensure, that we will get correct workspace name if we call MgnlContext.getJCRSession("magnolia-mgnlSystem").getWorkspace().getName() or node.getSession().getWorkspace().getName() etc. I had problems with physical name being returned instead of logical one by those calls without wrappers. I can dig into it again and see if it can be done in simpler way.
I had no problems on fresh install, but i will definitively try to do an update to see if any problem will arise or not. |
| Comment by Federico Grilli [ 29/Jun/15 ] |
|
While doing some tests on latest CE bundle I noticed that only superuser seems to be able to publish whereas users peter and eric can't no matter if they have write grants on the workspace they want to use (e.g. website, tours, categories). On the EE instance it looks like it works fine. While we're at it, it might worth adding a test similar to info.magnolia.integrationtests.uitest.PageEditorPublishingAndVersioningUITest.publishAndCheckAuthorAndPublic() but run it with user peter instead of superuser. |
| Comment by Christopher Zimmermann [ 29/Jun/15 ] |
|
Contacts and Tours apps also have failures on Publish. But the rest of the apps work. I looked at the definition of the Activation Action for these apps and they both specify: Peter trying to publish a tour: Peter trying to publish a contact: |
| Comment by Milan Divilek [ 30/Jun/15 ] |
|
Resolved under |