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

(tc-761) - Float attribute is not storing decimal values on Oracle

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.7.0-dev
    • None
    • Operating System: RHEL 6.1
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') : 5.3.3
      Database and version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
      Browser (and version): Firefox 10.0.2

    Description

      Hi,

      float attribute is not storing decimal values on Oracle.
      Follow the steps described below.

      Steps to reproduce
      - Create a new class with the following information:
           Name: vFloat
           Identifier: vfloat
           Object name pattern: <name>
      add the following Attributes:
       "Text line" attribute with
           Name: Name
           Identifier: name
        "Float" attribute with
           Name: Float
           Identifier: afloat
           Min float value: -100
           Max float value: 100
      
      - Create a "vFloat" object with the following information:
        Name. float test
        Float: 1.12
      - Publish it
      - Verify that the stored value should be 1.12, but instead was 1.00
      

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            pcardiga pcardiga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: