Uploaded image for project: 'Zanata'
  1. ZNTA-1442

zanata client does not handle 404 properly when the code is designed to ignore it

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: High
    • Resolution: Ready for Release
    • Affects Version/s: platform-4.0.0
    • Fix Version/s: platform-4.0.0
    • Component/s: None
    • Labels:
      None
    • Tested Version/s:
      None
    • Sprint:
      16.21

      Description

      When create skeleton is false (the default) and there is no translation for a document, the server will return 404. Zanata client not has a status code client side filter which throws exception on any status over 400. We have places where we want to ignore 404 will try to catch NotFoundException. But resteasy's ClientInvocation.java will wrap anything from ResponseStatusFilter into a ResponseProcessingException and therefore skip our catch block.

        Attachments

          Activity

            People

            • Assignee:
              pahuang Patrick Huang
              Reporter:
              pahuang Patrick Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: