[MGNLUI-3933] Deprecated ctor of DateFieldFactory doesn't work Created: 30/Jun/16 Updated: 28/Jul/16 Resolved: 07/Jul/16 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.4.7 |
| Fix Version/s: | 5.4.8 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Evzen Fochr | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 5m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| 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)
|
||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||
| Sprint: | Kromeriz 51 | ||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Description |
|
As described in info.magnolia.ui.form.field.factory.AbstractFieldFactory we can't use Components utility for retreiving UiContext.
See: Caused by: info.magnolia.objectfactory.NoSuchComponentException: No component configuration for type [info.magnolia.ui.api.context.UiContext] found. Please add a configuration to your module descriptor.
at info.magnolia.objectfactory.guice.GuiceComponentProvider.getComponent(GuiceComponentProvider.java:100)
at info.magnolia.objectfactory.Components.getComponent(Components.java:107)
at info.magnolia.ui.form.field.factory.DateFieldFactory.<init>(DateFieldFactory.java:78)
at info.magnolia.ga.visualization.app.fields.GoogleAnalyticsDateFieldFactory.<init>(GoogleAnalyticsDateFieldFactory.java:39)
... 164 more
|