You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/05/02 08:30:10 UTC

DO NOT REPLY [Bug 42300] - DocumentImpl.existsTranslation() must not use source URLs to access translations

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42300>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42300





------- Additional Comments From andreas@apache.org  2007-05-01 23:30 -------
(In reply to comment #2)
> can you explain what you mean by "source URLs"? i don't understand the problem,
> but it sounds important :)

If you access a repo node using the lenya:// protocol (i.e., it's source URL),
you lose the connection to the current session. If you are in a transaction
(i.e., in a usecase) which has already altered a node, you woulnd't get the
altered version, but the original one.

In the case of DeleteLanguage, this results in the problem that
Document.existsTranslation() returns "true" for the deleted version.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org