Polish problems subapp (CFGUI-45)

[CFGUI-50] Build unique url fragment in content connector Created: 13/Oct/16  Updated: 02/Nov/16  Resolved: 31/Oct/16

Status: Closed
Project: Definitions App
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Sub-task Priority: Neutral
Reporter: Cedric Reichenbach Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:
Sprint: Basel 68

 Description   

Currently, the fragment consists of the definition's path itself and the selected path within the definition. However, since a definition's path is not unique, there may be collisions. For instance, templating has two definitions with the same path /modules/templating/templates/plaintext; one of type renderer and one of type template. Including their type in the fragment would avoid this particular collision.

In general, two items should have the same path fragment exactly when

1. Their corresponding DefinitionProviderIds are "#equals"
2. They point to the same sub-path inside their corresponding definition



 Comments   
Comment by Philip Mundt [ 25/Oct/16 ]

DefinitionsAppUITest#showConfigActionOpensCorrectFileInConfigurationApp() fails due to broken Show in Configuration app action.

2016-10-25 15:42:17,758 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [showConfig]
info.magnolia.ui.api.action.ActionExecutionException: Error checking definition [mediaEditor~ui-mediaeditor~image@actionbar] in workspace [config]
	at info.magnolia.definitions.app.overview.actions.OpenConfigurationDefinitionAction.getDefinitionPath(OpenConfigurationDefinitionAction.java:84)
	at info.magnolia.definitions.app.overview.actions.AbstractOpenDefinitionAction.execute(AbstractOpenDefinitionAction.java:64)
Generated at Mon Feb 12 00:44:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.