Project

General

Profile

Actions

Bug #8676

closed

[J4] Saving a plan with empty price causes SQL error

Added by krileon over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 August 2021
Due date:
% Done:

100%

Estimated time:

Description

If the price is set to empty string it results in the following SQL error.

1366 Incorrect decimal value: '' for column 'rate' at row 1

Likely due to SQL being in strict mode now so it's not converted to 0.

Actions #1

Updated by krileon over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to krileon
  • % Done changed from 0 to 100

Fixed in MR !246

Actions #2

Updated by beat almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF