-
Notifications
You must be signed in to change notification settings - Fork 461
fix to show or hide show deleted objects option based on versioning status #2780
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
Conversation
Just checking that this is correct behavior - If versioning is suspended, deleted objects are still visible, but can't be restored, and objects deleted while versioning is suspended will show as deleted objects, but not be recoverable even once versioning is enabled. The only case the "Show deleted objects" box should not show is for never-versioned buckets, correct? |
here is a summary of the behaviour in each of the buckets
|
I only found 1 problem @prakashsvmx if you are looking at a |
@dvaldivia this seem to happen only with KBar actions. and looks not due to these changes. The object broweser in does not re render and populate the required states . i will investigate further in a new PR. |
ab7f55f
to
ac298b8
Compare
@dvaldivia i have sent a fix for the re-rendering bug when the bucket name changes within the Object browser view e.g using KBar. PTAL. |
3d15ff0
to
c59afa8
Compare
Can you please help us to fix conflicts @prakashsvmx? Thank you! |
c59afa8
to
6924f41
Compare
3e947cd
to
875feb8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@prakashsvmx seems that the coverage check is failing, we'd need to add some tests for this. |
I think this issue is not related to this PR, seems like threshold decreased while generating assets. We can manage this in a second PR |
Tested: Bucked Locked:
Bucket Versioned:
Bucket versioned suspended
Bucket no versioning:
|
@cesnietor Thank you so much for testing this out and the detailed feedback.
yes, i could send a fix.
We would not exactly when the versioning was suspended. So i believe this is fine as the older objects may have versions to delete. |
fix to show or hide show deleted objects option based on versioning status
"Show Deleted Objects" option is displayed for non versioned bucket.
it should be displayed only for versioned state ( enabled, suspended) buckets
Tested in :