[MGNLUI-2260] Missing config entry for WorkbenchFieldFactory when updating from 5.0.4 to 5.1 Created: 09/Oct/13 Updated: 23/Jan/14 Resolved: 17/Jan/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | configuration |
| Affects Version/s: | 5.1 |
| Fix Version/s: | 5.2.2 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christian Hamm | Assignee: | Mikaël Geljić |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | quickwin | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Patch included: |
Yes
|
||||||||||||
| 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
|
||||||||||||
| Date of First Response: | |||||||||||||
| Epic Link: | Support | ||||||||||||
| Description |
|
After upgrading a custom application from version 5.0.4 the following stack trace appears in the logs and no dialog is shown when clicking the "Select new..." button on a linkField: 2013-10-09 15:04:38,200 ERROR magnolia.ui.form.field.factory.FieldFactoryFactory: (superuser@0:0:0:0:0:0:0:1#4vwof0k5ci3b14t5hbhfd8ifr) [/oneweb-webapp-5.0/.magnolia/admincentral/UIDL/?v-uiId=0] - No field type definition found for workbenchField info.magnolia.registry.RegistrationException: Could not find fieldType for definition info.magnolia.ui.contentapp.field.WorkbenchFieldDefinition at info.magnolia.ui.form.fieldtype.registry.FieldTypeDefinitionRegistry.getByDefinition(FieldTypeDefinitionRegistry.java:88) at info.magnolia.ui.form.field.factory.FieldFactoryFactory.createFieldFactory(FieldFactoryFactory.java:82) at info.magnolia.ui.dialog.choosedialog.ChooseDialogPresenterImpl.start(ChooseDialogPresenterImpl.java:109) at info.magnolia.ui.contentapp.choosedialog.ContentAppChooseDialogPresenter.start(ContentAppChooseDialogPresenter.java:84) at info.magnolia.ui.contentapp.ContentApp.openChooseDialog(ContentApp.java:75) at info.magnolia.ui.framework.app.AppControllerImpl.openChooseDialog(AppControllerImpl.java:401) at info.magnolia.ui.form.field.LinkField$3.buttonClick(LinkField.java:247) at sun.reflect.GeneratedMethodAccessor464.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) This is caused by a missing configuration entry of the fieldType "workbenchField" that should have been considered in the setup tasks when upgrading to the next version. Everything works fine if the field is defined as shown in the screenshot. |
| Comments |
| Comment by Lorenzo Patocchi [ 17/Dec/13 ] |
|
thanks a lot for the workaround! |
| Comment by Daniel Lipp [ 14/Jan/14 ] |
|
It's related if not duplicated by the linked tickets. To be checked. |
| Comment by Mikaël Geljić [ 17/Jan/14 ] |
|
Indeed, this should be fixed by |