Show error when send mail fail

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Show error when send mail fail

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Show error when send mail fail

Alessandro  Vernet
Administrator
Hi Bruno,

Your `recover` never kicks in because `save-final` already does a `recover`:

    <property as="xs:string"  name="oxf.fr.detail.process.save-final.*.*">
        require-uploads
        then validate-all
        then save
        then new-to-edit
        then success-message("save-success")
        recover error-message("database-error")
    </property>

So maybe, instead of using `save-final`, you could copy the content of that
process into your, but without the last `success-message()` and
`error-message()`. You'll let me know if this works for you.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Show error when send mail fail

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Show error when send mail fail

Alessandro  Vernet
Administrator
Perfect Bruno, I'm glad bypassing `save-final` which does a `recover` solved
the issue. And thank you for the update! -Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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