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

ObjectFactoryImpl error with PropertyDecimalDefinition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.4.0
    • OpenCMIS 0.5.0
    • opencmis-client
    • None
    • 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

            fmui Florian Müller
            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