Petals BC REST

Path matching on request (consumes) takes the last match instead of first

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.1-BC
  • Fix Version/s: 1.1.0-BC
  • Component/s: Consumer mode
  • Security Level: Public
  • Description:
    Hide

    When a request URL matches multiple paths mapping defined in a consume, instead of taking the first one into account, it takes the last one (and uselessly process all of the matching paths).

    It would be more intuitive to take the first one into account.

    Show
    When a request URL matches multiple paths mapping defined in a consume, instead of taking the first one into account, it takes the last one (and uselessly process all of the matching paths). It would be more intuitive to take the first one into account.
  • Environment:
    -

Activity




Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
42s
1
Victor NOËL
Mon, 9 Jan 2017 - 14:51:14 +0100
Open Open In Progress In Progress
11s
1
Victor NOËL
Mon, 9 Jan 2017 - 14:51:25 +0100
In Progress In Progress Resolved Resolved
1h 33m
1
Victor NOËL
Mon, 9 Jan 2017 - 16:25:16 +0100
Victor NOËL made changes - Mon, 9 Jan 2017 - 16:25:16 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.1.0 [ 10696 ]
Resolution Fixed [ 1 ]
Victor NOËL made changes - Mon, 9 Jan 2017 - 14:51:25 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Mon, 9 Jan 2017 - 14:51:14 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Hide
Victor NOËL added a comment - Mon, 9 Jan 2017 - 14:51:13 +0100

Note: this is a minor problem because:
1) it is rare that two paths matches the same url
2) the behaviour is simply not intuitive

Show
Victor NOËL added a comment - Mon, 9 Jan 2017 - 14:51:13 +0100 Note: this is a minor problem because: 1) it is rare that two paths matches the same url 2) the behaviour is simply not intuitive

People

Dates

  • Created:
    Mon, 9 Jan 2017 - 14:50:32 +0100
    Updated:
    Mon, 9 Jan 2017 - 16:25:16 +0100
    Resolved:
    Mon, 9 Jan 2017 - 16:25:16 +0100