Bug #26779
openArchive “download as zip” creates backup with wrong name (but right contents)
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
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)
Updated by Michel BOUISSOU about 1 month ago
15 -> 03 looks like a time format issue 15h -> 3 PM, losing the PM.
Updated by Vincent MEMBRÉ 25 days ago
- Target version changed from 8.3.1 to 8.3.2
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
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
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
Updated by Anonymous 15 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|e4ccf77863515d7be940ec4e67b01072a9a46449.
Updated by François ARMAND 4 days ago
- File clipboard-202505271507-blf1g.png clipboard-202505271507-blf1g.png added
- Fix check changed from To do to Checked
Date time is ok now, normalized in UTC ('Z') so that it plays nicely with filenames.