U4-2690 - Fix issue with data type editor, it makes 2 requests for the initial load

Created by Shannon Deminick 22 Aug 2013, 08:11:03 Updated by Per Ploug 31 Oct 2013, 11:57:41

Subtask of: U4-2891

This is due to the get pre values call being made because it thinks the drop down has changed on first load. There might be other editors doing this too, we'll need to check.

Comments

Per Ploug 08 Oct 2013, 13:37:08

seems to only be making one request to the getPrevalues service as it is now


Shannon Deminick 28 Oct 2013, 00:06:42

It makes one request to get the data type definition which includes pre-values already, but then it makes another request to re-get the same pre-values. The 2nd one isn't necessary since we already have the initial pre-values.


Per Ploug 31 Oct 2013, 11:57:38

ah got it, found the issue in the watcher, since it performs a check when the initial value is set on the dropdown, making it always do this load, added a check to see if there was a value already set.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Per Ploug

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: