Uploaded image for project: 'Tupelo'
  1. Tupelo
  2. TUP-484

Changing the predicate associated with a mapping does not completely work

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • Beans
    • None

      Looking over the code exposed the following bug. A client may change the predicate associated with a property. The mapping then should allow for retrieving that property by the predicate. It does not, so the following code would fail

      // assuming that the property fulfills
      assert property.getPredicate.equals(oldPredicate);
      beanMapping.setPropertyPredicate(newPredicate);
      beanMapping.getProperty(newPredicate); //<-- fails to find it.

              jgaynor Jeffrey Gaynor
              jgaynor Jeffrey Gaynor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: