Bug 29491

Summary: No refresh after adding a new job
Product: Lenya Reporter: edith
Component: SchedulerAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: normal CC: dev
Priority: P3    
Version: 1.2   
Target Milestone: 1.2.6   
Hardware: Other   
OS: other   

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.