Scada-LTS
Scada-LTS copied to clipboard
[bug] Point Hierarchy not loading after import
Describe the bug The Data Point Hierarchy is not initialized on the classic UI and on the new UI after importing the structure from Import/Export menu. But after manipulation with that object it is becoming visible.
To Reproduce
- Create a Point Hierarchy structure.
- Then try to export it.
- Delete everything in Point Hierarchy.
- Import point hierarchy structure.
- Now you can see that the structure has not been loaded.
But: After adding a new directory user will notice that the structure is loaded. So it is imported but it is not initialized and that may be the reason why the point hierarchy is not visible.
Expected behavior After Import/Export the Point Hierarchy should be working
Desktop (please complete the following information):
- OS: Linux
- Browser Chrome
- Version 93
I understand that this concerns the new hierarchy. e.g. on event on active the data should be updated and you can try to force only one window (tab) to open with editing of the score hierarchy
In the old tab there was an assumption that the user configuring it is an aware user and works on one tab and if he has two open he can refresh them. The bigger problem is the speed of loading data and its correct rendering.
I looked at the code and it looks like the structure is updated every 10min, but the refresh button should force this update...
The refresh rate is configurable in the env.properties file: abilit.CRONE_UPDATE_CACHE_POINT_HIERARCHY=0 0/10 * * * ?
And fixed button refresh: #2484