Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-405

ObjectFactoryImpl error with PropertyDecimalDefinition

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenCMIS 0.4.0
    • Fix Version/s: OpenCMIS 0.5.0
    • Component/s: opencmis-client
    • Labels:
      None
    • Environment:

      CMIS Workbench 0.4.0

      Description

      I use workbench to test my server.
      On edit properties all works exceptly DECIMAL field when i debug workbench i see the methode ObjectFactoryImpl.convertProperties(Map<String, ?> properties, ObjectType type, Set<Updatability> updatabilityFilter) can't convert double or float to BigDecimal and throw IllegalArgumentException("Property '" + id + "' is a Decimal property!");.

      To solve it just adding a test for Double and Float.

        Attachments

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              rolfone Florent Amaridon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified