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

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

cyberduck opened this issue Nov 11, 2021 · 6 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Nov 11, 2021

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

@cyberduck cyberduck commented Nov 11, 2021

@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.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 11, 2021

@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

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 12, 2021

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​

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 12, 2021

@dkocher commented

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

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 12, 2021

@dkocher commented

In f61c002.

Loading

@cyberduck cyberduck closed this Nov 12, 2021
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 12, 2021

@dkocher commented

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

Loading

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
SebDieBln pushed a commit to SebDieBln/cyberduck that referenced this issue Nov 29, 2021
SebDieBln pushed a commit to SebDieBln/cyberduck that referenced this issue Nov 29, 2021
…ectory prefix only contains deleted objects and the marker object itself is deleted.
SebDieBln pushed a commit to SebDieBln/cyberduck that referenced this issue Nov 29, 2021
…RAC-11906 to master

* commit '7fc26e8a8d6c5ed96bc414bf41a119ca33370b52':
  Remove live condition for objects in lifecycle configuration.
  Fix iterate-ch#11906. Fix storage class for transition to "ARCHIVE".
SebDieBln pushed a commit to SebDieBln/cyberduck that referenced this issue Nov 29, 2021
…RAC-11904 to master

* commit '386db225fb6ab79ca94d7cd131ed4bde197835e4':
  Fix iterate-ch#11906. Copy implementation from S3 to determine if directory prefix only contains deleted objects and the marker object itself is deleted.
  Add test.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants