Ronny,
> New Revision: 10490
> Modified:
> trunk/src/java/org/tigris/scarab/om/Issue.java
>
trunk/src/java/org/tigris/scarab/util/xmlissues/ScarabIssues
.java
> Log:
> SCB2426: ensure that the lastTransId and createdTransId
is always filled
> with a valid reference when an Issue is saved, because
this information
> is mandatory. This is especially required if an action
crashes and some
> data is left on the db (Scarab is not using
DB-Transactions :( ). Better
> an orphaned ActivitySet, than an Issue without valid
ActivitySets.
i got some problems with this commit.
During importing of issues the AttributeValue.save(), given
it's a new
attribute, fails
(throwing "SQLException: Column 'ISSUE_ID' cannot be
null")
because its associated Issue hasn't yet yet been saved.
Undoing this commit was enough to get importing (from jira)
working for me again.
Do you have any objections if i undo that change?
Is there a way to obtain and assign the issueId in the
Issue
without saving it?
~mck
--
"The reward of patience is patience." St.
Augustine
| www.semb.wever.org | www.sesat.no | www.sesam.no |
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe scarab.tigris.org
For additional commands, e-mail: dev-help scarab.tigris.org
|