[MGNLUI-5745] Investigate double fetch in data providers Created: 19/Mar/20 Updated: 19/Mar/20 |
|
| Status: | Open |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Jorge Franco | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Description |
|
Debugging Magnolia, I have detected that UI is fetching data from data providers twice. Starting magnolia, the first time I open Pages App, only fetching data one time (ListDataProvider.fetch). If I close the app, and open it again, then I detect fetching data twice. And following times is doing twice, also in other UI components, apps or admin central. Triggers of getting data from data providers come from vaadin rpcMessages (ServletRpcHandler), with the same messages fetch providers one time or twice. The second time that fetch providers, I can see view is drawn and ready. |