Page MenuHomeIn-Portal Phabricator

INP-1478 - Cut tailing zeros for numbers with 0 in the middle
ClosedPublic

Authored by alex on Sep 16 2015, 9:59 AM.

Details

Test Plan
  1. for any numeric field in any unit add 'cut_zeros' => 1 to it's definition
  2. do following steps for this set of numbers:
    • 10.000
    • 100.000
    • 101.000
    • 101.100
    • 101.10100
    • 101.101
  3. open form, where field is displayed
  4. enter number
  5. submit the form with a validation error
  6. confirm, that number shown on form now doesn't have trailing 0

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 144
Build 144: arc lint + arc unit

Event Timeline

alex updated this revision to Diff 306.Sep 16 2015, 9:59 AM
alex retitled this revision from to INP-1478 - Cut tailing zeros for numbers with 0 in the middle.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1478.
glebs accepted this revision.Sep 17 2015, 2:50 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Sep 17 2015, 2:50 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 5:43 AM
alex added a project: Restricted Project.