Skip to content

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

Closed

Description

@cyberduck

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

Activity

  1. cyberduck commented on Nov 11, 2021

    @cyberduck
    ContributorAuthor

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

  2. cyberduck commented on Nov 11, 2021

    @cyberduck
    ContributorAuthor

    @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

  3. cyberduck commented on Nov 12, 2021

    @cyberduck
    ContributorAuthor

    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​

  4. cyberduck commented on Nov 12, 2021

    @cyberduck
    ContributorAuthor

    @dkocher commented

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

  5. cyberduck commented on Nov 12, 2021

    @cyberduck
    ContributorAuthor

    @dkocher commented

    In f61c002.

  6. cyberduck commented on Nov 12, 2021

    @cyberduck
    ContributorAuthor

    @dkocher commented

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

  7. locked as resolved and limited conversation to collaborators on Nov 27, 2021
  8. added theissue type on Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions