Unexpected behavior of pool.dataset.unlock with recursive : false

Description

Steps to reproduce

  1. WebUI launches the job pool.dataset.unlock with recursive field is false

 

  1. recursive value is properly retrieved from middleware by WebUI

  1. WebUI requests pool.dataset.details

Actual result:

However, after requesting pool.dataset.details, the pool and all child datasets have the locked field set to true (though only expected for the pool):

 

 

Expected result:

  • the pool dataset should have locked field updated to a new false value

  • for all child datasets the locked field to still keep old true value

Steps to Reproduce

None

Expected Result

None

Actual Result

None

Environment

None

Hardware Health

None

Error Message (if applicable)

Attachments

3

Activity

Show:

Bug Clerk October 13, 2024 at 3:34 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Waqar Ahmed October 13, 2024 at 3:34 PM

if child datasets are inheriting encryption properties which they are from the screenshot you provided, they will be unlocked once you unlock the parent unless they are their own encryption root like `test2` was which remained locked. Please let me know if there are any concerns and i can help clarify this further. Thanks!

Michelle Johnson July 31, 2024 at 12:00 PM
Edited

Issue created by an iXsystems developer. Escalating to Engineering for additional triage. Debut requested from the developer and changed issue type to defect instead of bug.

Michelle Johnson July 31, 2024 at 12:00 PM

please attach a system debug.

Bug Clerk July 30, 2024 at 1:58 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Behaves as Intended
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Waqar Ahmed

Reporter

Fix versions

Time remaining

0m

Components

Priority

Katalon Platform

Created July 30, 2024 at 1:58 PM
Updated October 13, 2024 at 3:34 PM
Resolved October 13, 2024 at 3:34 PM