Project

General

Profile

Actions

Bug #8643

closed

Price decimal validation missing

Added by krileon over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
27 July 2021
Due date:
% Done:

100%

Estimated time:

Description

Plan prices are not validated before storage. This can result in empty string trying to store in a decimal database column, which is not allowed and will cause a fatal query error. The ->check function of cbpaidItem should be sure rate and first_rate are valid decimals and probably the XML for those two need adjusted as well so validation can also be done client side.

https://www.joomlapolis.com/forum/153-professional-member-support/244165-j-4-cbsubs-plan-save-bug#325784

Actions #1

Updated by krileon over 2 years ago

  • Status changed from New to Rejected
  • Target version deleted (4.5.3)
  • % Done changed from 0 to 100
Actions #2

Updated by krileon over 2 years ago

See #8676

Actions

Also available in: Atom PDF