cloud-pipeline
cloud-pipeline copied to clipboard
NPE at creation of object storage if "Versioning Enabled" and "Backup Duration" aren't specified for both Cloud Region and created object storage
NullPointerException is returned at creation of Object Storage if "Versioning Enabled" and "Backup Duration" aren't specified for both Cloud Region in which the object storage is created, and created storage.
To Reproduce
- Go to Settings >> Cloud Regions >> Select region
- Untick
Versioning enabledcheckbox if if ticked and save region settings - Go to Library.
- Click + Create button and select Storages option
- Specify storage name
- In the Cloud region field select region from the step 1
- Don't set Backup duration value
- Click Create button
Actual result:
- Error message
Your operation has been aborted as we encountered a server problem.is appears. - error.log:
ExceptionHandlerAdvice - This operation has been aborted: uri=/pipeline/restapi/datastorage/save;client=10.244.0.2;session=<...>;user=<...>. java.lang.NullPointerException: null
Environment:
- Cloud Provider: AWS
- Version 0.17.0.18166