Re: Objects marked as modified with no changes?

From: Mike Kienenberger (mkienen..mail.com)
Date: Fri Apr 14 2006 - 18:05:55 EDT

  • Next message: Kevin Menard: "Summer of Code"

    Ok. The problem started happening between M8 and M9.

    Looks like a regression -- I'll open an issue.

    On 4/14/06, Mike Kienenberger <mkienen..mail.com> wrote:
    > On 4/14/06, Mike Kienenberger <mkienen..mail.com> wrote:
    > > I'm going to try reverting back to M11.
    >
    > I've hit this with M11, M10, and M9. M8 is when the hsqldb switchover
    > occurred, so it's too much of a pain to test earlier versions right
    > now.
    >
    > Turns out that JSF is automatically resetting DataObject properties
    > back to the same value they had before. Now I'm pretty sure I wasn't
    > seeing this behavior in older versions of Cayenne. I'll need to give
    > the M5 version a try again when I get a chance to verify.
    >
    > A workaround has been to add code in my BaseDataObject class to check
    > for the old value equaling the new value in writeProperty(), and if
    > so, do nothing.
    >



    This archive was generated by hypermail 2.0.0 : Fri Apr 14 2006 - 18:06:18 EDT