You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/02/27 16:58:52 UTC

DO NOT REPLY [Bug 17496] New: - SlideSource does not work with transactions

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17496

SlideSource does not work with transactions

           Summary: SlideSource does not work with transactions
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: holz@fiz-chemie.de
                CC: stephan@apache.org


SlideSource.setSourceProperty and probably all methods, that write data, work not
with slide stores, that need transaction (tested
withJDBCDescriptorsStore/Postgres, but should apply to all "non toy" stores). 
The call "content.store" must be wrapped into nat.begin/nat.commit. Otherwise it
will be never committed to
database. However it will make it to the cache of StandardStore and since
this cache does not isolate transactions, it looks like the operation
was sucessfull unless you look into the underlying database or clear the cache.