Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifecycle rules are not correctly displayed (or editable) in the GUI. #11906

Closed
cyberduck opened this issue Nov 11, 2021 · 6 comments
Closed
Assignees
Labels
bug fixed googlestorage Google Cloud Storage Protocol Implementation low priority
Milestone

Comments

@cyberduck
Copy link
Collaborator

e8e8e0a created the issue

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.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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
Copy link
Collaborator Author

@dkocher commented

The Delete Files option works for me. It refers to a lifecycle rule of type Delete.

Screenshot 2021-11-11 at 12.18.38.png

@cyberduck
Copy link
Collaborator Author

e8e8e0a commented

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

Untitled.png​

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Remove live condition for objects in lifecycle configuration in 7fc26e8 and d07d5e2.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In f61c002.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We will not currently offer more configuration options but try to cover the most used options with the simplified interface.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed googlestorage Google Cloud Storage Protocol Implementation low priority
Projects
None yet
Development

No branches or pull requests

2 participants