You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sathwik Bantwal Premakumar (Created) (JIRA)" <ji...@apache.org> on 2012/03/19 11:15:38 UTC
[jira] [Created] (ODE-958) ODE allows activating a retired process
when there is already an active version
ODE allows activating a retired process when there is already an active version
-------------------------------------------------------------------------------
Key: ODE-958
URL: https://issues.apache.org/jira/browse/ODE-958
Project: ODE
Issue Type: Bug
Components: BPEL Runtime
Reporter: Sathwik Bantwal Premakumar
Priority: Critical
Steps to reproduce:
1) Deploy a process to the server (V1)
2) Deploy the process again (V2)
3) V1: Retired and V2: Active
4) Now activate (Process package) V1 which is in Retired state.
5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
Retired process should not be activated when there is already an active version.
Forum Thread
http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ODE-958) ODE allows activating a retired process
when there is already an active version
Posted by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sathwik Bantwal Premakumar updated ODE-958:
-------------------------------------------
Labels: patch (was: )
> ODE allows activating a retired process when there is already an active version
> -------------------------------------------------------------------------------
>
> Key: ODE-958
> URL: https://issues.apache.org/jira/browse/ODE-958
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Reporter: Sathwik Bantwal Premakumar
> Priority: Critical
> Labels: patch
> Attachments: ODE-958-1.patch, ODE-958.patch, ODE-958-Testcase.patch
>
>
> Steps to reproduce:
> 1) Deploy a process to the server (V1)
> 2) Deploy the process again (V2)
> 3) V1: Retired and V2: Active
> 4) Now activate (Process package) V1 which is in Retired state.
> 5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
> 6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
> Retired process should not be activated when there is already an active version.
> Forum Thread
> http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ODE-958) ODE allows activating a retired
process when there is already an active version
Posted by "Sathwik Bantwal Premakumar (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232550#comment-13232550 ]
Sathwik Bantwal Premakumar commented on ODE-958:
------------------------------------------------
This is how it works,
Process in the cached process list is 'Active' and Current state of the process is 'Retired' and the state change requested for the process is 'Active' then do not allow this operation.
> ODE allows activating a retired process when there is already an active version
> -------------------------------------------------------------------------------
>
> Key: ODE-958
> URL: https://issues.apache.org/jira/browse/ODE-958
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Reporter: Sathwik Bantwal Premakumar
> Priority: Critical
> Attachments: ODE-958.patch
>
>
> Steps to reproduce:
> 1) Deploy a process to the server (V1)
> 2) Deploy the process again (V2)
> 3) V1: Retired and V2: Active
> 4) Now activate (Process package) V1 which is in Retired state.
> 5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
> 6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
> Retired process should not be activated when there is already an active version.
> Forum Thread
> http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ODE-958) ODE allows activating a retired process
when there is already an active version
Posted by "Sathwik Bantwal Premakumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sathwik Bantwal Premakumar updated ODE-958:
-------------------------------------------
Attachment: ODE-958-Testcase.patch
Testcase added
> ODE allows activating a retired process when there is already an active version
> -------------------------------------------------------------------------------
>
> Key: ODE-958
> URL: https://issues.apache.org/jira/browse/ODE-958
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Reporter: Sathwik Bantwal Premakumar
> Priority: Critical
> Attachments: ODE-958-1.patch, ODE-958-Testcase.patch, ODE-958.patch
>
>
> Steps to reproduce:
> 1) Deploy a process to the server (V1)
> 2) Deploy the process again (V2)
> 3) V1: Retired and V2: Active
> 4) Now activate (Process package) V1 which is in Retired state.
> 5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
> 6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
> Retired process should not be activated when there is already an active version.
> Forum Thread
> http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ODE-958) ODE allows activating a retired process
when there is already an active version
Posted by "Sathwik Bantwal Premakumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sathwik Bantwal Premakumar updated ODE-958:
-------------------------------------------
Attachment: ODE-958-1.patch
Added a meaningful error message and the patch attached ODE-958-1.patch
> ODE allows activating a retired process when there is already an active version
> -------------------------------------------------------------------------------
>
> Key: ODE-958
> URL: https://issues.apache.org/jira/browse/ODE-958
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Reporter: Sathwik Bantwal Premakumar
> Priority: Critical
> Attachments: ODE-958-1.patch, ODE-958.patch
>
>
> Steps to reproduce:
> 1) Deploy a process to the server (V1)
> 2) Deploy the process again (V2)
> 3) V1: Retired and V2: Active
> 4) Now activate (Process package) V1 which is in Retired state.
> 5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
> 6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
> Retired process should not be activated when there is already an active version.
> Forum Thread
> http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ODE-958) ODE allows activating a retired process
when there is already an active version
Posted by "Sathwik Bantwal Premakumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sathwik Bantwal Premakumar updated ODE-958:
-------------------------------------------
Attachment: ODE-958.patch
Patch attached ODE-958.patch.
> ODE allows activating a retired process when there is already an active version
> -------------------------------------------------------------------------------
>
> Key: ODE-958
> URL: https://issues.apache.org/jira/browse/ODE-958
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Reporter: Sathwik Bantwal Premakumar
> Priority: Critical
> Attachments: ODE-958.patch
>
>
> Steps to reproduce:
> 1) Deploy a process to the server (V1)
> 2) Deploy the process again (V2)
> 3) V1: Retired and V2: Active
> 4) Now activate (Process package) V1 which is in Retired state.
> 5) An exception is thrown ContextException("Can't activate two processes of the same name:....)
> 6) Now check the status of V1 and V2, you can see that both the versions V1 and V2 are Active.
> Retired process should not be activated when there is already an active version.
> Forum Thread
> http://ode.markmail.org/message/a6mihchounrue4yz
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira