Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Final
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      9036

      Description

      Hi

      Using filtering attributes with "setValue" method doesn't seem to work. For
      example :

      context.getPointer("/employeeList[firstName='Dmitri']/firstName").setValue
      ("NewDmitri");

      The new value is cached into the pointer object, but the property writer method
      is not invoked, so the bean is not modified. It works well with non filtered
      path.

      Method "ValueUtils.setValue(Object bean, PropertyDescriptor propertyDescriptor,
      Object value)" shoudn't be called instead of "ValueUtils.setValue(Object
      collection, int index, Object value)" ?

      Thanks.

        Activity

        Hide
        dmitri@apache.org Dmitri Plotnikov added a comment -

        Fixed the problem in ChildContext - for path ".../foo" it was attempting to
        set ".../foo[1]".

        Show
        dmitri@apache.org Dmitri Plotnikov added a comment - Fixed the problem in ChildContext - for path ".../foo" it was attempting to set ".../foo [1] ".

          People

          • Assignee:
            Unassigned
            Reporter:
            jpochat@sopragroup.com Jérôme Pochat
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development