Have you already contacted our help centre?
Is there an existing issue for this?
Describe the bug
Description
The Object Storage S3 bucket detail page in the Control Panel incorrectly
displays "1 an" for an Object Lock retention period configured at 7 days.
Other values (e.g. 8 days) display correctly.
Actual behavior
Retention period displays "1 an".
Note: a bucket configured with 8 days correctly displays "8 jours".
Proof
API returns the correct value:
{
"ObjectLockConfiguration": {
"ObjectLockEnabled": "Enabled",
"Rule": {
"DefaultRetention": {
"Mode": "COMPLIANCE",
"Days": 7
}
}
}
}
Steps To Reproduce
- Create an S3 bucket with Object Lock enabled, COMPLIANCE mode, 7 days retention
- Navigate to the bucket dashboard in the Control Panel (https://manager.eu.ovhcloud.com/#/public-cloud/pci/projects/${PROJECT_ID}/storages/objects/s3/EU-WEST-PAR/${BUCKET}/dashboard/)
Environment
- Region: eu-west-par
- Bucket type: S3, 3-AZ
Expected Behavior
Retention period displays "7 jours".
What browsers are you using?
Firefox
Which devices are used?
Desktop
Additional information to add?
No response
Have you already contacted our help centre?
Is there an existing issue for this?
Describe the bug
Description
The Object Storage S3 bucket detail page in the Control Panel incorrectly
displays "1 an" for an Object Lock retention period configured at 7 days.
Other values (e.g. 8 days) display correctly.
Actual behavior
Retention period displays "1 an".
Note: a bucket configured with 8 days correctly displays "8 jours".
Proof
API returns the correct value:
{ "ObjectLockConfiguration": { "ObjectLockEnabled": "Enabled", "Rule": { "DefaultRetention": { "Mode": "COMPLIANCE", "Days": 7 } } } }Steps To Reproduce
Environment
Expected Behavior
Retention period displays "7 jours".
What browsers are you using?
Firefox
Which devices are used?
Desktop
Additional information to add?
No response