Petals ESB Container

Verification of state when changing status is buggy in MessageExchangeImpl

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.2.4
  • Fix Version/s: 4.3.2, 5.0.0
  • Component/s: Micro-kernel
  • Security Level: Public
  • Description:
    Hide

    In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()).

    For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case.
    There is also some strange case where the provider can't set the done status on an InOnly message with a fault... which cannot happen at that point normally!

    This should be fixed.

    Show
    In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()). For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case. There is also some strange case where the provider can't set the done status on an InOnly message with a fault... which cannot happen at that point normally! This should be fixed.
  • Environment:
    -

Issue Links

Activity

Victor NOËL made changes - Fri, 29 Jan 2016 - 16:56:15 +0100
Fix Version/s 4.3.2 [ 10608 ]
Victor NOËL made changes - Thu, 21 May 2015 - 17:07:53 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.0 [ 10413 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Thu, 21 May 2015 - 15:03:09 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Mon, 11 May 2015 - 16:29:03 +0200
Link This issue depends on PETALSCDK-130 [ PETALSCDK-130 ]
Victor NOËL made changes - Mon, 11 May 2015 - 16:17:43 +0200
Description In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()).

For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case.
Also, a provider can't set DONE on an in-out message, there is no reason for that, actually the opposite would be expected when a provider has set the out message or even the fault message!

This should be fixed.
In the container MessageExchange implementation, there seems to be error in the logic that checks the state of an exchange when the status is set (in method setStatus()).

For example, it is not possible to set the Error status when one is provider and the message is in-out... there is no reason for this specific case.
There is also some strange case where the provider can't set the done status on an InOnly message with a fault... which cannot happen at that point normally!

This should be fixed.
Victor NOËL made changes - Mon, 11 May 2015 - 16:07:31 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]

People

Dates

  • Created:
    Mon, 11 May 2015 - 16:07:19 +0200
    Updated:
    Fri, 29 Jan 2016 - 16:56:49 +0100
    Resolved:
    Thu, 21 May 2015 - 17:07:53 +0200