[Data Grid] Dirty items not cleared

Forge Component
(28)
Published on 24 Sep (3 weeks ago) by OutSystems R&D
28 votes
Published on 24 Sep (3 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