You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by "William Sobel (JIRA)" <ji...@apache.org> on 2009/03/15 03:16:50 UTC

[jira] Closed: (OLIO-62) Rails Driver does not check the responseBody of doAddPerson or doAddEvent POSTs for flash messages indicating an error occured

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

William Sobel closed OLIO-62.
-----------------------------


> Rails Driver does not check the responseBody of doAddPerson or doAddEvent POSTs for flash messages indicating an error occured
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OLIO-62
>                 URL: https://issues.apache.org/jira/browse/OLIO-62
>             Project: Olio
>          Issue Type: Bug
>          Components: rails-driver
>         Environment: Any
>            Reporter: Mandy Waite
>            Assignee: William Sobel
>
> When running into a problem with MySQL and duplicate keys which for most of a run resulted in no users or events being inserted into the database. It was seen that this kind of failure was not picked up by the Rails Driver and therefore doAddPerson and doAddEvents oeprations were flagged as being successful regardless of  whether inserts were made or not.
> The symptom to look for is that if the add fails, the status returned by the HTTP POST is SC_OK and not SC_MOVED_TEMPORARILY (i.e.: a redirect) and a flash message is added to the page, either: "Could not create event" for failing to add an event, or "Failed to create user" for  failing to add a user.

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