Project

General

Profile

Actions

Bug #25696

open

Exporting empty archive with no content should return an API error

Added by Clark ANDRIANASOLO about 1 month ago. Updated 1 day 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:
103
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 29 days ago

  • Priority changed from To review to 2
Actions #2

Updated by Vincent MEMBRÉ 15 days ago

  • Target version changed from 8.1.8 to 8.1.9
Actions #3

Updated by Nicolas CHARLES 1 day ago

  • Priority changed from 2 to 3
Actions

Also available in: Atom PDF