[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Mikaël Geljić updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Mikaël Geljić Documentation update required: Yes Account: Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Mikaël Geljić updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Mikaël Geljić Sprint: Saigon 38 39 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Ngoc Nguyenthanh updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Ngoc Nguyenthanh Comment: h6. INFO- Although the issue come from {{ShowVersionAction}}. But the root cause is raised by {{DetailSubApp}} and {{DetailEditorPresenter}}.- In the {{start}} method, it try to get {{itemId}} from the path by using {{contentConnector.getItemIdByUrlFragment(nodePath)}}. {{getItemIdByUrlFragment}} expect to receive a relative path, but unfortunately the {{nodePath}} get from {{DetailLocation}} provided by {{ShowVersionAction}} is an absolute node path (full path as it should be).h6. SOLUTION- Try to extract itemId from absolute path by take care of the root path configured in the subapp in {{DetailSubApp}} and {{DetailEditorPresenter}}.- If this solution is acceptable, we would rephrase a ticket title.{code:java}private Object extractItemId(String nodePath) {String relativeNodePath = nodePath;if (contentConnector instanceof JcrContentConnector) {JcrContentConnector detailContentConnector = (JcrContentConnector) contentConnector;String rootPath = detailContentConnector.getContentConnectorDefinition().getRootPath();relativeNodePath = StringUtils.removeStart(relativeNodePath, "/".equals(rootPath) ? "" : rootPath);}return contentConnector.getItemIdByUrlFragment(relativeNodePath);}{code} Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Mikaël Geljić updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Mikaël Geljić Sprint: Saigon 37 38 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Mikaël Geljić updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Mikaël Geljić Sprint: Saigon 36 37 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Ngoc Nguyenthanh updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Ngoc Nguyenthanh Assignee: Ngoc Nguyenthanh Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Ngoc Nguyenthanh updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Ngoc Nguyenthanh Fix Version/s: 5.4.6 Original Estimate: 5d Remaining Estimate: 5d Account: Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Michael Mühlebach updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Michael Mühlebach Sprint: Saigon 36 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to:
[magnolia-dev] [JIRA] (MGNLUI-3799) ShowVersionsAction doesn't use ContentConnector
Title: Message Title Ervín Výstup updated an issue Magnolia UI / MGNLUI-3799 ShowVersionsAction doesn't use ContentConnector Change By: Ervín Výstup Project: Magnolia Personalization UI Key: MGNLPN MGNLUI - 245 3799 Component/s: Segmentation App Component/s: Personas App Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: