[MGNLUI-2868] Add install condition to ui-admincentral to check for new value of the magnolia.ui.vaadin.widgetset property Created: 06/May/14  Updated: 08/May/14  Resolved: 07/May/14

Status: Closed
Project: Magnolia UI
Component/s: admincentral
Affects Version/s: 5.3
Fix Version/s: 5.3

Type: Task Priority: Blocker
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: widgetset
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File admincentral-upgrade-widgetset-relocation.png    
Issue Links:
causality
caused by MGNLUI-1894 Extract widgetset out of UI to its ow... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Widgetset

 Description   

We extracted the widgetset out of UI to its own project; now the widgetset package has changed as follows:
5.2 => info.magnolia.ui.vaadin.gwt.MagnoliaWidgetSet
5.3 => info.magnolia.widgetset.MagnoliaWidgetSet

This property is read from the magnolia.ui.vaadin.widgetset property in the magnolia.properties file.

This means that for upgrading from 5.2 to 5.3, we need to make sure people update this property value in their setup, so we will add a condition in version handler for that.



 Comments   
Comment by Mikaël Geljić [ 06/May/14 ]

Turns out the AdmincentralUIProvider also still refers to the old widgetset — only as a default if the property is missing or blank.
Then we can be more tolerant in this AdmincentralUIProvider:

  • We automatically use the new widgetset name if the old one comes from the properties, logging a warning in the process
  • Our condition for 5.3 upgrade can also be a simple warning without stopping the whole upgrade.

Comment by Mikaël Geljić [ 07/May/14 ]

See warning message in attached screenshot.
Custom widgetset documentation is added to http://documentation.magnolia-cms.com/display/DOCS/Using+custom+widgets, as a hidden section until 5.3 is out.

Generated at Mon Feb 12 09:00:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.