You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a string value is assigned to the colSpan property, the library fails to handle the invalid input gracefully. Instead of throwing a proper validation error, the issue causes the server to crash unexpectedly. This behavior not only disrupts our production environment but is also reproducible on the pdfmake playground, where the server similarly fails. Expected Behavior
The library should validate the colSpan input and throw a descriptive error if an invalid value (e.g., a string) is provided. The server should not crash due to invalid input. Impact
Server crashes in our production environment when invalid colSpan input is encountered.
Reproducible on the official pdfmake playground, demonstrating this is not an isolated issue.
Critical disruption to applications relying on this library.
Urgency
This is a critical issue causing server downtime and affecting production systems. A fix is required urgently to prevent further disruptions.
Suggested Fix
Implement input validation for the colSpan property to ensure only numeric values are accepted.
If an invalid value is encountered, throw a clear error instead of crashing the server.
_ Please prioritize this fix and let us know if any further details or assistance are needed._
The text was updated successfully, but these errors were encountered:
I don’t fully understand how this could cause server downtime in production. If a string is accidentally assigned to a property that requires a number, this would be the responsibility of the product/site developer.
I’m not familiar with your specific use case where this might occur randomly, but if user input is allowed for this value, it’s essential to add validation in the GUI to ensure it is a number. Without such validation, this could lead to exceptions, which would constitute a critical bug in your product/site.
This issue has been marked as a feature request.
Since this is an open-source project, you are welcome to contribute by submitting your own pull request to add the necessary validations or other improvements.
When a string value is assigned to the colSpan property, the library fails to handle the invalid input gracefully. Instead of throwing a proper validation error, the issue causes the server to crash unexpectedly. This behavior not only disrupts our production environment but is also reproducible on the pdfmake playground, where the server similarly fails.
Expected Behavior
The library should validate the colSpan input and throw a descriptive error if an invalid value (e.g., a string) is provided. The server should not crash due to invalid input.
Impact
Urgency
This is a critical issue causing server downtime and affecting production systems. A fix is required urgently to prevent further disruptions.
Suggested Fix
Implement input validation for the colSpan property to ensure only numeric values are accepted.
If an invalid value is encountered, throw a clear error instead of crashing the server.
_ Please prioritize this fix and let us know if any further details or assistance are needed._
The text was updated successfully, but these errors were encountered: