[Data Grid] Dirty items not cleared

Forge Component
(25)
Published on 31 Jul (4 weeks ago) by OutSystems R&D
25 votes
Published on 31 Jul (4 weeks ago) by OutSystems R&D

There is a small bug in the GridFramework script. In the function GridOS.dirtyItemsFeature.clearDirtyElements there are items removed from variable _dirtyItems and after this the variable  _items is tested if it is empty to set _dirtyItems as undefined when _dirtyItems is empty.

In my opinion the length of _dirtyItems has to be tested.


Best regards,

Brian