Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-655

Binding Query - Provide wrong data if result included also parent directory

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      When is used binding query to filter data, but results required also parents directory. Then filter conditions are not applied.
      Example:

              final QueryExpression<System> query = factory.querySubtree(InstanceIdentifier.create(Foo.class))
                  .extractChild(System.class, new SystemKey("first"))
                      .matching()
                          .childObject(Alarms.class)
                              .leaf(Alarms::getId).valueEquals(Uint64.ZERO)
                      .build();

      Then the result will include also Alarms with values other than uint64.ZERO.

       

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            rovarga Robert Varga
            PeterSuna Peter Suna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: