Project

General

Profile

Actions

Bug #25696

open

Exporting empty archive with no content should return an API error

Added by Clark ANDRIANASOLO 3 months ago. Updated 12 days ago.

Status:
New
Priority:
3
Assignee:
-
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
100
Name check:
To do
Fix check:
To do
Regression:
No

Description

When using the archives/export endpoint to export e.g. all directives, I expect that all directives would be exported with the following parameters :

api/latest/archives/export?include=directives

But the generated archive only has an empty directives folder even if I have configured directives on the Rudder server.

The API response should be an error when the archive is empty, which is because no components match the request at all on the server.

We should also improve the doc about that

Actions #1

Updated by François ARMAND 3 months ago

  • Priority changed from To review to 2
Actions #2

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 8.1.8 to 8.1.9
Actions #3

Updated by Nicolas CHARLES 2 months ago

  • Priority changed from 2 to 3
Actions #4

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 8.1.9 to 8.1.10
Actions #5

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 8.1.10 to 8.1.11
  • Priority changed from 103 to 102
Actions #6

Updated by Vincent MEMBRÉ 12 days ago

  • Target version changed from 8.1.11 to 8.1.12
  • Priority changed from 102 to 100
Actions

Also available in: Atom PDF