We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Delete data with partial update not working

Answered
Ilaria asked on February 6, 2020

Hi,
I would like to report a bug on partial update. If I add new records (with new ids) using UpdataData with 'partial' option and after that I delete the same records using again Updata Data with 'partial' option (and marking them as 'deleted') everything works fine. But if i do the same, when the report contains a calculated measure, the 'delete' operation breaks.
I prepared a JSFiddle to reproduce the issue:

  • click on 'Add New Data' (works fine: new data is added under 'green-USA')
  • click on 'Remove Data' (works fine: data under 'green-USA' are removed)
  • then click on 'Add Formula' (works fine: a new measure is added in the report)
  • click again on 'Add New Data' (works fine: new data is added under 'green-USA' and the formula is correctly computed)
  • click again on 'Remove Data' -> data are not removed.

I'm aware that this is a very particular combo of actions, but some users reported it to us.
Could you please fix it?
Thank you!

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster February 7, 2020

Hi Ilaria,
 
Thank you for reporting this.
 
We've managed to reproduce the described behavior and it does seem like an issue. The fix for this bug will be available in our upcoming release ETA Feb 24th.
 
As always, feel free to reach out if there is anything else we can assist you with.
 
Best regards,
Mykhailo

Public
Ilaria February 7, 2020

Thank you!

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster February 25, 2020

Hi Ilaria,
 
We are glad to announce that the issue with data not being removed with updateData when using calculated measures was fixed.
 
This is available in the 2.8.1 version of Flexmonster: https://www.flexmonster.com/release-notes/
 
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/
 
Also, here is a 2.7 to 2.8 migration guide which might come in handy since our 2.8 release: https://www.flexmonster.com/doc/migration-guide-from-2-7-to-2-8/
 
Please let us know in case any questions arise.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer