[ 
http://jira.codehaus.org/browse/CONTINUUM-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wendy Smoak updated CONTINUUM-1469:
-----------------------------------

    Affects Version/s: 1.3.4
        Fix Version/s: 1.4.x

Confirmed in 1.3.4.  The delete from the second browser results in:

{noformat}
Error Occured

org.apache.maven.continuum.ContinuumException: invalid group id
Show/hide Stack Trace

        org.apache.maven.continuum.ContinuumException: invalid group id
        at 
org.apache.maven.continuum.DefaultContinuum.getProjectGroup(DefaultContinuum.java:328)
        at 
org.apache.maven.continuum.web.action.ProjectGroupAction.getProjectGroup(ProjectGroupAction.java:975)
        at 
org.apache.maven.continuum.web.action.ProjectGroupAction.getProjectGroupName(ProjectGroupAction.java:992)
        at 
org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:295)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: org.apache.maven.continuum.store.ContinuumObjectNotFoundException: 
Could not find object. Type 
'org.apache.maven.continuum.model.project.ProjectGroup'. Id: '2'.
        at 
org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:116)
        at 
org.apache.continuum.dao.AbstractDao.getObjectById(AbstractDao.java:104)
        at 
org.apache.continuum.dao.ProjectGroupDaoImpl.getProjectGroup(ProjectGroupDaoImpl.java:121)
        at 
org.apache.maven.continuum.DefaultContinuum.getProjectGroup(DefaultContinuum.java:324)
        ... 176 more
{noformat}

I think it should just display a message like "The project group you are 
attempting to delete no longer exists."

Marica, what kind of prompt were you thinking of?

(And Occurred is spelled wrong in the current message.)

> Prompt for handling exceptions due to invalid objects
> -----------------------------------------------------
>
>                 Key: CONTINUUM-1469
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1469
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.1-beta-2, 1.3.4
>            Reporter: Maria Catherine Tan
>             Fix For: 1.4.x
>
>
> Steps to replicate:
> 1. Open 2 browsers (e.g. multi-user environment)
> 2. Add a project and display it to those 2 browsers via Show Project Groups
> 3. Delete a project in one browser. Then delete the same project on another 
> browser.
> This will display a stack trace due to a ContinuumException. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to