Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24126

Integer field with value 0 on platformUI display as "This field is empty"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2015.01
    • Fix Version/s: QA tracked issues, 2015.03
    • Labels:
      None
    • Environment:

      Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 36

    • Sprint:
      Pollux Platform S11

      Description

      A integer field type on platfomrUI show the value 0 as "This field is empty"

      Steps to reproduce:

      On platformUI create a new content with an Integer FieldType,
      change the the Integer field to 0, and publish the content, the value of the Intenger will be "This field is empty".

        Activity

        Hide
        Damien Pobel (Inactive) added a comment -

        Confirmed. The integer are displayed with the generic field view you which only tests the fieldValue as boolean. Most likely, the same issue is valid for Float by the way.

        Show
        Damien Pobel (Inactive) added a comment - Confirmed. The integer are displayed with the generic field view you which only tests the fieldValue as boolean. Most likely, the same issue is valid for Float by the way.
        Show
        Yannick Roger (Inactive) added a comment - - edited PR: https://github.com/ezsystems/PlatformUIBundle/pull/223
        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/PlatformUIBundle/commit/c6da90168ff2290890f82649142a60e10ba7e035
        Hide
        Rui Silva (Inactive) added a comment -

        Tested and approved by QA for master.

        Show
        Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

          People

          • Assignee:
            Unassigned
            Reporter:
            Miguel das Neves Jacinto (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day
              1d

                Agile