You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/01/31 13:35:35 UTC

[jira] Assigned: (SLING-213) ujax post servlet should respond with status page instead of default redirect

     [ https://issues.apache.org/jira/browse/SLING-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-213:
---------------------------------------

    Assignee: Felix Meschberger

> ujax post servlet should respond with status page instead of default redirect
> -----------------------------------------------------------------------------
>
>                 Key: SLING-213
>                 URL: https://issues.apache.org/jira/browse/SLING-213
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>         Attachments: ujax_post.r616964-1.patch
>
>
> it is desirable that the ujax post serlvet responds with a status page rather than with a default redirect.
> this allows clients (javascript+formpost or ajax based) to react better on the modifications.
> will provide a patch for the post servlet that responds with that status page. the old redirect behavior can still be achieved by sending a ujax:redirect="*" input parameter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Assigned: (SLING-213) ujax post servlet should respond with status page instead of default redirect

Posted by Tobias Bocanegra <to...@day.com>.
hi,
the changes affect the tests quite a bit. and some failed due to some
"weird" sling exceptions.
i can go over the tests again, if you like, and see if i can find all issues.

regards, toby

On 1/31/08, Felix Meschberger <fm...@gmail.com> wrote:
> Salut Bertrand,
>
> Am Donnerstag, den 31.01.2008, 14:31 +0100 schrieb Bertrand Delacretaz:
> > Hi,
> >
> > > ...Felix Meschberger reassigned SLING-213:...
> >
> > I meant to comment in JIRA but it's not responding at the moment: make
> > sure to run the launchpad-webapp integration tests after this change,
> > as quite a few of them test the current behaviour, i.e. redirect after
> > POST.
>
> Definitely. Though Toby "fixed" some tests, he also said, that there
> were some failures. I will only checkin when the tests do not fail again
> - the changes are quite substantial, actually.
>
>
> Regards
> Felix
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Re: [jira] Assigned: (SLING-213) ujax post servlet should respond with status page instead of default redirect

Posted by Felix Meschberger <fm...@gmail.com>.
Salut Bertrand,

Am Donnerstag, den 31.01.2008, 14:31 +0100 schrieb Bertrand Delacretaz:
> Hi,
> 
> > ...Felix Meschberger reassigned SLING-213:...
> 
> I meant to comment in JIRA but it's not responding at the moment: make
> sure to run the launchpad-webapp integration tests after this change,
> as quite a few of them test the current behaviour, i.e. redirect after
> POST.

Definitely. Though Toby "fixed" some tests, he also said, that there
were some failures. I will only checkin when the tests do not fail again
- the changes are quite substantial, actually.


Regards
Felix


Re: [jira] Assigned: (SLING-213) ujax post servlet should respond with status page instead of default redirect

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,

> ...Felix Meschberger reassigned SLING-213:...

I meant to comment in JIRA but it's not responding at the moment: make
sure to run the launchpad-webapp integration tests after this change,
as quite a few of them test the current behaviour, i.e. redirect after
POST.

-Bertrand