Get Free Trial

Delete data with partial update not working

Ilaria asked on February 6, 2020

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

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,

Ilaria February 7, 2020

Thank you!

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:
You are welcome to update the component:
Also, here is a 2.7 to 2.8 migration guide which might come in handy since our 2.8 release:
Please let us know in case any questions arise.
Best regards,

Please login or Register to Submit Answer