Bug 29491 - No refresh after adding a new job
Summary: No refresh after adding a new job
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Scheduler (show other bugs)
Version: 1.2
Hardware: Other other
: P3 normal
Target Milestone: 1.2.6
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 09:47 UTC by edith
Modified: 2007-04-23 07:19 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edith 2004-06-10 09:47:45 UTC
 
Comment 1 edith 2004-06-10 12:34:43 UTC
Is certainly the redirect problem (under Mozilla)
It happens systematically with jetty. I couldn't reproduce it on tomcat. 
Comment 2 Gregor J. Rothfuss 2004-10-29 02:05:02 UTC
the reason:
          <!-- other steps: add job (redirect to page) -->
          <map:generate src="cocoon://scheduler/publication/{../1}"/>
          <map:transform src="xslt/util/redirect.xsl">
            <map:parameter name="url" value="{request-param:referer}"/>
          </map:transform>
          <map:serialize/>

the scheduler servlet relies on the side effect of getting called through the
internal cocoon pipeline to store a new job. changing the above to

              <map:redirect-to session="true" uri="{request-param:referer}"/>
gets rid of the browser problem but breaks adding jobs.