Petals BC Filetransfer

Rework error management

Details

  • Description:
    Hide

    Currently, IO errors are returned as a fault.

    We should distinguish between IO errors as technical errors or business errors. Technical errors should be returned as simple error, instead of business errors that should be returned as faults.

    All errors are technical errors except the following ones, per operation:

    • check, del, mget:
      • filename missing in request,
    • get:
      • filename missing in request,
      • file not found,
      • XML file expected,
    • getAsAttachment:
      • filename missing in request,
      • file not found,
    • mput:
      • at least on attachment expected
    Show
    Currently, IO errors are returned as a fault. We should distinguish between IO errors as technical errors or business errors. Technical errors should be returned as simple error, instead of business errors that should be returned as faults. All errors are technical errors except the following ones, per operation:
    • check, del, mget:
      • filename missing in request,
    • get:
      • filename missing in request,
      • file not found,
      • XML file expected,
    • getAsAttachment:
      • filename missing in request,
      • file not found,
    • mput:
      • at least on attachment expected
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:10:09 +0100

Reworked in branch petals-bc-filetransfer-5.0.x

Show
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:10:09 +0100 Reworked in branch petals-bc-filetransfer-5.0.x
Hide
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:10:44 +0100 - edited

Reopened to be merged in trunk

Show
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:10:44 +0100 - edited Reopened to be merged in trunk
Hide
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:15:33 +0100

Merged in trunk

Show
Christophe DENEUX added a comment - Thu, 5 Dec 2019 - 18:15:33 +0100 Merged in trunk

People

Dates

  • Created:
    Wed, 4 Dec 2019 - 11:39:15 +0100
    Updated:
    Thu, 5 Dec 2019 - 18:15:33 +0100
    Resolved:
    Thu, 5 Dec 2019 - 18:15:33 +0100