This post was updated on .
Hello
I try to migrate our application orbeon 4.4 to orbeon 4.8. The connexion page works fine, but when we validate, we obtain a blank page. The connexion action was executed, but the result page is blank. In the end of the log, we have: 2015-05-09 22:37:16,161 DEBUG XFormsServer - opening URL connection {method: "POST", URL: "http://localhost:8090/Extranet/extranet/interne", User-Agent: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0", Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", Content-Type: "application/xml", Orbeon-Token: "2b6d3997766be69c573d6710b575d46645fe19c8"} 2015-05-09 22:37:16,163 DEBUG XFormsServer - response {status code: "200"} 2015-05-09 22:37:16,164 DEBUG XFormsServer - response has no content {} 2015-05-09 22:37:16,166 DEBUG XFormsServer - saved HTTP state {scope: "session"} 2015-05-09 22:37:16,166 DEBUG XFormsServer - end opening connection {time (ms): "8204"} 2015-05-09 22:37:16,167 DEBUG ConcreteChooseProcessor - Choose: taking otherwise branch at null 2015-05-09 22:37:16,167 INFO ProcessorService - /extranet/interne - Timing: 8255 2015-05-09 22:37:16,168 INFO lifecycle - event: {"request": "5", "session": "9697EB2CF28D4B9283C54B88E5C68567", "source": "service", "message": "end: handle", "time": "8 255 ms"} 2015-05-09 22:37:16,168 INFO lifecycle - event: {"request": "5", "session": "9697EB2CF28D4B9283C54B88E5C68567", "source": "limiter", "message": "end: nofilter", "time": "8 257 ms"} We try to add this in the local properties file : <property as="xs:string" processor-name="oxf:page-flow" name="page-public-methods" value="GET HEAD POST PUT DELETE"/> <property as="xs:string" processor-name="oxf:page-flow" name="service-public-methods" value="GET HEAD POST PUT DELETE"/> But there is no change. We use tomcat 5.5.25 and Java 1.6 It seems to be like http://stackoverflow.com/questions/23566312/page-load-issue-in-orbeon-forms-4-5-ce-separate-deployment?noredirect=1#comment36900435_23566312 But we are on integrated deployment and with orbeon 4.8... I noticed that 4.7 introduced internal requests but i don't know if i need to change something in our application . (I don't think so) Can you help me ? thank you. julien |
Administrator
|
Hi Julien, What do you refer as the "connexion page"? And what do you mean by "validate"? I think I'm missing some context here, as I'm not sure what /Extranet/extranet/interne is, and who is triggering a submission to that URL. Alex On Sat, May 9, 2015 at 7:35 PM, ricetrac <[hidden email]> wrote: Hello You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi alex
Sorry, it's not very clear. The "connection page" is the first page of my application. she works fine. the problem is when I submit this page : the action of this submit works fine, but the result is a blank page. The url /Extranet/extranet/interne is the url of my application, and the url submited by the connection page action. I show the end of the log file, after the end of the connection page action. I hope this is understandable. Thank You. julien |
This post was updated on .
More information: The problem seems to come from page-flow.xml file.
the page connection on my page-flow : <page id="connexioninterne" path="/extranet/interne" default-submission="connexion/instance_connexion.xml" model="connexion/initConnexion.xpl" view="connexion/view_pageConnexionInterne.xhtml"> <action when="/form/action = 'Valider'" action="connexion/connexion.xpl"> <result when="/Retour/codeRetour != '0'" transform="oxf:xupdate"> <xu:transformations> <xu:update select="/form/msgErreur"> <xu:value-of select="doc('input:action')/Retour/messageRetour"/> </xu:update> <xu:update select="/form/action"/> </xu:transformations> </result> <result when="/Retour/codeRetour = '0'" page="rechtiers"/> </action> </page> <page id="rechtiers" path="/extranet/rechtiers/" default-submission="rechtiers/instance_rechtiers.xml" model="rechtiers/initRecherche.xpl" view="rechtiers/pageRechTiers.xhtml"/> So, if the return of connexion.xpl equals "0" : go to the page "rechtiers" => this doesn't work, I obtain a blank page. If I changed the <xf:submission> action on my connection page like this: before : <xf:submission id="Valider" action="/extranet/interne/" method="post" replace="all"/> after : <xf:submission id="Valider" action="/extranet/rechtiers/" method="post" replace="all"/> The page "rechtiers" is displayed. Is there something to change on my page-flow.xml file ? I try with Orbeon 4.9 : it's the same. thank You. julien |
I make a more simple test with another connection page :
<page id="connexion" path="/extranet/" default-submission="connexion/instance_connexion.xml" model="connexion/initConnexion.xpl" view="connexion/view_pageConnexion.xhtml"> <action when="/form/action = 'Perdu'" > <result page="mdpoublie"/> </action> </page> <page id="mdpoublie" path="/extranet/mdpoublie" default-submission="connexion/motDePasseOublie.xml" view="connexion/pageMotDePasseOublie.xhtml"> .... </page> the <xf:submission> on my page : <xf:submission id="Perdu" validate="false" action="/extranet/" method="post"/> And I have the same problem when I submit this "action" : blank page. Thank You. Julien |
sorry, an another post, but i think it's the last for tonight.
I test with the apps pfc-atm which have a page-flow file like my application. I delete all my local properties : when I submit the correct PIN 42, I obtain a blank page. I use Orbeon 4.9, tomcat 5.5.25 and jdk 1.6 And the last : I test on demo.orbeon.com : http://demo.orbeon.com/orbeon/pfc-atm/ : I put the correct pin and I obtain a blank page... I'm "happy" because I think that now, it's more easy for You to reproduce this issue. good night. julien |
Administrator
|
Julien,
Ha, good old page flow! It seems that this broke with internal requests in 4.7 already. Issue is now fixed in master: https://github.com/orbeon/orbeon-forms/issues/2234 -Erik |
Yes,
all our page-flow are like that, maybe since 2005 or 2006... I hope it's not deprecated ? because we use a lot this "old page-flow".. It's a big fix, that I can't integrate simply on my installation. Do you think that it will be a relase 4.9.1 before the 4.10 ? Thank You for this fix. Julien |
Administrator
|
It's a pretty localized fix actually. Are you using CE? If so, you can fairly easily build from source and cherry-pick this commit.
It's too early to tell whether 4.9.1 will come before 4.10. That will depend on what kind of issues we find in 4.9.0. -Erik |
Free forum by Nabble | Edit this page |