-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63946/
-----------------------------------------------------------
Review request for kylin, Dayue Gao, Dong Li, hongbin ma, and Wang Xiaoyu.
Bugs: KYLIN-3049
https://issues.apache.org/jira/browse/KYLIN-3049
Repository: kylin
Description
-------
1. Open the Model page;
2. Create a new cube, click the "New Thresholds" button in the "Refresh
Setting" tab, and don't input any value, then complete the follow steps, at
last save it;
3. Choose the cube you just created, go to the "Refresh Setting" tab, you will
find the zero hours in "Auto Merge Thresholds" list, which is invalid but saved
in the server;
4. Similarly, update a existent cube, do the same steps, you will also find the
invalid zero value saved in the server.
As we know, the zero value of "Auto Merge Thresholds" parameter is invalid, so
we should filter it before sending it to server.
Diffs
-----
webapp/app/js/utils/utils.js 30ad261
Diff: https://reviews.apache.org/r/63946/diff/1/
Testing
-------
Thanks,
pengjianhua