Actually, those two Jira issues are for completely separate causes. The
one that applies to you is OFBIZ-3557.
-Adrian
On 5/19/2010 4:10 PM, James McGill wrote:
On Wed, May 19, 2010 at 3:42 PM, Adrian Crum<[email protected]> wrote:
That looks like a bad design. There is no synchronization, so multiple
threads can create invoices with the same number
Invoices, Orders, and Quotes. The Jira tickets imply that it's a problem in
load-balanced or "heavily" multi-threaded runtimes, but it's happening to us
almost every day, on a single-processor system with just a few users.
It would be merely an annoyance if the user could submit again, but the
problem is, the system remains broken until someone goes in and manually
increments the sequence in PartyAcctgPreference. (And that "someone" is
me).
I checked the trunk, hoping this had been updated, but it hasn't. I'm
surprised everyone doesn't run into this.