Project

General

Profile

Actions

Bug #26779

open

Archive “download as zip” creates backup with wrong name (but right contents)

Added by Michel BOUISSOU about 1 month ago. Updated 4 days ago.

Status:
Pending release
Priority:
1 (highest)
Category:
Web - UI & UX
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

After a number of archives have been created with the button “Backup everything” in Administration / Maintenance / Policy Backup

- I have 19 of them dated, plus “Lastest git commit”

- Selecting the latest archive (i.e. 2025-0422 15:45:14+0200)

- Saves it with the wrong name : rudder-conf-all-2025-04-22T034510.zip

- Where I would expect rudder-conf-all-2025-04-22T154514.zip (or even rudder-conf-all-2025-04-22T134514.zip should it be UTC time).

- I don't seem to have any actual archive with a timestamp corresponding to what is generated here, so that's real weird.

However, the produced name is plain wrong and doesn't correspond to the contents of the .zip archive, that actually contains the latest configuration.


Files

Archive_wrong_selection_250422a.png (71 KB) Archive_wrong_selection_250422a.png Archive created with wrong name Michel BOUISSOU, 2025-04-22 15:54
clipboard-202505271507-blf1g.png (50.1 KB) clipboard-202505271507-blf1g.png François ARMAND, 2025-05-27 15:07
Actions #1

Updated by Michel BOUISSOU about 1 month ago

  • Subject changed from Archive “donwload as zip” creates archive with wrong name (but right contents) to Archive “download as zip” creates archive with wrong name (but right contents)
Actions #2

Updated by Michel BOUISSOU about 1 month ago

15 -> 03 looks like a time format issue 15h -> 3 PM, losing the PM.

Actions #3

Updated by Vincent MEMBRÉ 25 days ago

  • Target version changed from 8.3.1 to 8.3.2
Actions #4

Updated by François ARMAND 16 days ago

  • Subject changed from Archive “download as zip” creates archive with wrong name (but right contents) to Archive “download as zip” creates backup with wrong name (but right contents)
  • Assignee set to François ARMAND
  • Target version changed from 8.3.2 to 8.2.7

It looks like some time format string use the bad hh

Actions #5

Updated by François ARMAND 16 days ago

  • Priority changed from To review to 1 (highest)

P1 because it is very small, not because of its impact

Actions #6

Updated by François ARMAND 16 days ago

  • Status changed from New to In progress
Actions #7

Updated by François ARMAND 16 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/6375
Actions #8

Updated by Anonymous 15 days ago

  • Status changed from Pending technical review to Pending release
Actions #9

Updated by François ARMAND 4 days ago

Date time is ok now, normalized in UTC ('Z') so that it plays nicely with filenames.

Actions

Also available in: Atom PDF