Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-14227

Editing the list property value in share with zero after decimal, holding the data type as Float/Double restores the first value from the drop down list on saving and revisiting the edit pop up in share.

    Details

      Description

      Steps to Reproduce:

      1. Log in as Admin user
      2. Create new model (ex) Model1
      3. Activate Model1
      4. Create new type (ex) type1 for Model1
      5. Create new property (ex) prop1 for type1 with data as below:
      Data Type: d:float /d:double
      Constraint : Value list
      List of values:
      54.789
      67.0
      5677.56
      5677.5
      Sorted: unchecked/checked
      6. Apply the type to any node in share
      7. Navigate to edit pop up of the respective node in share
      8. Select the property value as '67.0' from the drop down list and click 'Save' button
      9. Revisit the edit pop up page for that node in share and view the property value displayed.

      Expected:
      The property value should be displayed as '67.0' in the edit pop up

      Actual:
      The property value is set to first value from the drop down list on revisiting (ex) 54.789 as per the test data

      Ref: Screen shot attached
      Note: The same issue exists for data type double as well.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  cganesh Charulatha Ganesh [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 days, 6 hours
                    4d 6h

                      Structure Helper Panel