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=42394>.
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=42394

           Summary: Revision control is broken
           Product: Lenya
           Version: 1.4
          Platform: Other
               URL: http://localhost:8888/default/authoring/index.html?lenya
                    .usecase=tab.revisions
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Revision Controller
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have the default pub with the default content. I edit and published the index.
Now in
http://localhost:8888/default/authoring/index.html?lenya.usecase=tab.revisions
I see different versions.

Requesting http://localhost:8888/default/authoring/index.html?lenya.revision=1
will show me the last revision (with all the test edition). I would have
expected it will show me the initial page (without any edition).

Trying http://localhost:8888/default/authoring/index.html?lenya.revision=2 is
throwing an ugly exception:
No entry found for
[lenya://lenya/pubs/default/content/authoring/f2027f00-ff09-11db-a881-fac2875bd236/en],
revision [2]

org.apache.cocoon.ProcessingException: Failed to process pipeline at
<map:serialize type="xml"> -
file:/home/thorsten/src/apache/lenya-1.4.x/build/lenya/webapp/lenya/modules/homepage/sitemap.xmap:65:36
at <map:transform type="cinclude"> -
file:/home/thorsten/src/apache/lenya-1.4.x/build/lenya/webapp/lenya/modules/homepage/sitemap.xmap:64:41
at <map:transform> -
...
Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream
for
cocoon://modules/news/header.xml/default/authoring/f2027f00-ff09-11db-a881-fac2875bd236/en
        at
org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:252)
        at
org.apache.lenya.cms.cocoon.source.SiteSource.getInputStream(SiteSource.java:151)
        at
org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:522)
        ... 96 more

Further if I try to rollback to another version it is actually not doing 
anything.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to