Need a special offer?Find out if your project fits.
+

[Bug report] Using an empty string ("") as dateInvalidCaption prevents data from loading

Answered
Projet TCD asked on July 1, 2020
  • Observed behavior:
    • Pivot table is not loading
    • Browser console contains an error log:
      • Uncaught TypeError: Cannot read property 'toString' of undefined
  • Expected behavior:
    • Pivot table is loading correctly with empty string ("") as a localized "dateInvalidCaption"
    • Browser console doesn't contain any error
  • More details:
    • Following the forum post https://www.flexmonster.com/question/empty-date-field-shown-as-invalid-date/ the "dateInvalidCaption" is set to "" (also happens with a string that only contains whitespaces) in the "localization" property
      • As a result, empty, "null" or invalid dates are not parsed properly
    • This bug is not occuring in Flexmonster version v2.7.11 (untested on newer versions except v2.8.10)
    • Relatively low priority bug, but it did cause quite a headache to diagnose. Obvious workaround is to set "dateInvalidCaption" to a non-empty/non-whitespace value

3 answers

Public
Milena Pechura Milena Pechura Flexmonster July 3, 2020

Hello! 
 
Thank you for writing to us.  
   
We have managed to reproduce the reported behavior on our side – our team is going to investigate this further and return to you with a fix ETA Aug 10th.  
  
Please let us know if this works for you. 
 
Regards,  
Milena

Public
Milena Pechura Milena Pechura Flexmonster August 11, 2020

Hello,
 
We are pleased to inform you that the issue with empty "dateInvalidCaption" was fixed.
 
This is available in the 2.8.13 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Please contact us in case any questions arise.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster August 18, 2020

Hello!
 
Our team is wondering whether the recent fix helped. Please let us know if everything works fine.
 
We are looking forward to hearing from you.
 
Kind regards,
Milena

Please login or Register to Submit Answer