Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-473

The getSample REST endpoint does not return any error code

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None
    • None
    • All
    • Hide

      no more relevant

      Show
      no more relevant
    • Small

    Description

      The rest endpoint for the getSample mechanism return a code 200 even if the sample failed to be retrieved.
      As a result, it is really difficult to correctly display a correct error message to the user when the sample is invalid.

      The enpoint that is not working correctly is linked to the method RuntimesController.getDatasetData()

      Attachments

        Activity

          People

            Unassigned Unassigned
            pbailly Pierre Bailly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: