Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,375
    • Issues 1,375
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM Core
  • Issues
  • #2756

Closed
Open
Created Aug 13, 2021 by Detlev@DetlevDeveloper

Money - Regression? Edit contribution not possible with "," as decimal separator

Overview

Money brick has had a large discussion recently.

With 5.40 at least one problem reappeared: If we have "," as decimal separator, saving of edited contribution is not possible - unless you enter a decimal point instead of comma.

Reproduction steps

  1. Menu: Administer > Localisation > Languages ...
  2. Enter Thousands Separator = "." and Decimal Delimiter = ","
  3. Search for a contribution of type donation, click on "edit"
  4. Without changing anything, click "save" -> php errors, save won't work
  5. Redo step 1 - 3
  6. Change total amount to something with "." as decimal delimiter, "save" -> correct amount will be saved.

Current behaviour

Saving an amount with the correct decimal delimiter is not possible

Expected behaviour

Saving an amount should be possible without hacking the decimal delimiter

Environment information

  • CiviCRM: This bug was reproducable on CiviCRM 5.40.1. It does not happen on CiviCRM 5.39.0
  • PHP: 7.3/7.4
  • CMS: WordPress

Comments

(none)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking