You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lifecycle rules are not correctly displayed (or editable) in the GUI. #11906
Steps to reproduce.
Connect to a project with GCS protocol.
Right click on a bucket and select Info.
Lifecycle section shows "Transition to Glacier" = "after 1 day".
There is not a Glacier tier in GSC and there is no transition lifecycle rule in the bucket.
Bucket has Delete after 30 days configured but this does not show in the GUI.
Selecting Transition to Glacier results in error Invalid argument. Domain: global. Reason: invalid. Bad Request. Please contact your web hosting service provider for assistance.
Lifecycle rules have a lot more options that what is presented in the Cyberduck GUI. The rule that Cyberduck creates to delete objects isn't really correct since it sets the condition to be "Live", hence in a versioned bucket the object will never be deleted.
The GUI should have all the options to be complete, or at least if not all the options are supported it should work correctly for the options that are shown. e.g. The Delete object rule has 9 different conditions but only 1 is show in the GUI, but in the back end you are implementing 2 (age and live status"). Due to what is in the back end being different to what is in the GUI it causes it not to display correctly in the GUI. e.g. If you enter a Lifecycle rule for delete files after X days Cyberduck doesn't display this rule in the GUI. It will only show the rule if you also set Live Status = Live in the conditions.
I recommend either adding in the various options to the GUI, or disabling this in the GUI until it is fixed
Activity
cyberduck commentedon Nov 11, 2021
Selecting Transition to Glacier results in error
Invalid argument. Domain: global. Reason: invalid. Bad Request. Please contact your web hosting service provider for assistance.cyberduck commentedon Nov 11, 2021
The Delete Files option works for me. It refers to a lifecycle rule of type
Delete.cyberduck commentedon Nov 12, 2021
Lifecycle rules have a lot more options that what is presented in the Cyberduck GUI. The rule that Cyberduck creates to delete objects isn't really correct since it sets the condition to be "Live", hence in a versioned bucket the object will never be deleted.
The GUI should have all the options to be complete, or at least if not all the options are supported it should work correctly for the options that are shown. e.g. The Delete object rule has 9 different conditions but only 1 is show in the GUI, but in the back end you are implementing 2 (age and live status"). Due to what is in the back end being different to what is in the GUI it causes it not to display correctly in the GUI. e.g. If you enter a Lifecycle rule for delete files after X days Cyberduck doesn't display this rule in the GUI. It will only show the rule if you also set Live Status = Live in the conditions.
I recommend either adding in the various options to the GUI, or disabling this in the GUI until it is fixed
cyberduck commentedon Nov 12, 2021
Remove live condition for objects in lifecycle configuration in 7fc26e8 and d07d5e2.
cyberduck commentedon Nov 12, 2021
In f61c002.
cyberduck commentedon Nov 12, 2021
We will not currently offer more configuration options but try to cover the most used options with the simplified interface.