Cannot change SMB share purpose

Description

When editing an existing SMB share, changing the "Purpose" visibly changes, but when saving it does not actually seem to apply.

1. Create an SMB share.
2. Once created, open the edit modal and switch the "Purpose" to something like "Multi-user time machine".
3. Save the share.
4. Edit the share again and notice that the purpose didn't actually change.

Additionally, this error appears in the console when switching the purpose dropdown:

```
TypeError: Cannot read properties of null (reading 'enable')
at $.clearPresets (3495.685bb8eda4ba3810.js:1:67603)
at Object.next (3495.685bb8eda4ba3810.js:1:66133)
at L.next (main.f48246f5e1f86a8a.js:1:1725755)
at P._next (main.f48246f5e1f86a8a.js:1:1725428)
at P.next (main.f48246f5e1f86a8a.js:1:1725118)
at L.next (main.f48246f5e1f86a8a.js:1:1725755)
at P._next (main.f48246f5e1f86a8a.js:1:1725428)
at P.next (main.f48246f5e1f86a8a.js:1:1725118)
at main.f48246f5e1f86a8a.js:1:1723063
at u (main.f48246f5e1f86a8a.js:1:1753585)
at bs.next (main.f48246f5e1f86a8a.js:1:1722902)
at bs.emit (main.f48246f5e1f86a8a.js:1:2111738)
at oi.updateValueAndValidity (main.f48246f5e1f86a8a.js:1:2266020)
at oi.setValue (main.f48246f5e1f86a8a.js:1:2277400)
at Ut (main.f48246f5e1f86a8a.js:1:2273774)
at J.onChange (main.f48246f5e1f86a8a.js:1:2271932)
at main.f48246f5e1f86a8a.js:1:417997
at lv (main.f48246f5e1f86a8a.js:1:2143086)
at Object.M [as next] (main.f48246f5e1f86a8a.js:1:2143304)
at L.next (main.f48246f5e1f86a8a.js:1:1725755)
at P._next (main.f48246f5e1f86a8a.js:1:1725428)
at P.next (main.f48246f5e1f86a8a.js:1:1725118)
at main.f48246f5e1f86a8a.js:1:1723063
at u (main.f48246f5e1f86a8a.js:1:1753585)
at bs.next (main.f48246f5e1f86a8a.js:1:1722902)
at bs.emit (main.f48246f5e1f86a8a.js:1:2111738)
at Oe.viewToModelUpdate (main.f48246f5e1f86a8a.js:1:2279975)
at Ut (main.f48246f5e1f86a8a.js:1:2273831)
at Yt._onChange (main.f48246f5e1f86a8a.js:1:2271932)
at Yt._propagateChanges (main.f48246f5e1f86a8a.js:1:2882939)
at Yt._onSelect (main.f48246f5e1f86a8a.js:1:2882522)
at Object.next (main.f48246f5e1f86a8a.js:1:2881827)
at L.next (main.f48246f5e1f86a8a.js:1:1725755)
at P._next (main.f48246f5e1f86a8a.js:1:1725428)
at P.next (main.f48246f5e1f86a8a.js:1:1725118)
at subscribe.y (main.f48246f5e1f86a8a.js:1:1741968)
at u._next (main.f48246f5e1f86a8a.js:1:1734581)
at u.next (main.f48246f5e1f86a8a.js:1:1725118)
at subscribe.J (main.f48246f5e1f86a8a.js:1:1738583)
at u._next (main.f48246f5e1f86a8a.js:1:1734581)
at u.next (main.f48246f5e1f86a8a.js:1:1725118)
at L.next (main.f48246f5e1f86a8a.js:1:1725755)
at P._next (main.f48246f5e1f86a8a.js:1:1725428)
at P.next (main.f48246f5e1f86a8a.js:1:1725118)
at main.f48246f5e1f86a8a.js:1:1723063
at u (main.f48246f5e1f86a8a.js:1:1753585)
at bs.next (main.f48246f5e1f86a8a.js:1:1722902)
at bs.emit (main.f48246f5e1f86a8a.js:1:2111738)
at ze._emitSelectionChangeEvent (main.f48246f5e1f86a8a.js:1:2518581)
at ze._selectViaInteraction (main.f48246f5e1f86a8a.js:1:2518171)
```

Host ID: 3c1040d5fec54e9ebdebd7f4649576d29e0dcd2b7ccc55b81961e64480a69cc7

Session ID: d6a5bfb3-c360-1b6f-c7ed-1778cc596596

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk June 18, 2024 at 8:14 AM

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.

Boris Vasilenko June 9, 2024 at 9:14 PM

Hi ,

  1. Please ensure you have Apple SMB2/3 protocol extension support enabled on the System > Services > SMB

  2. Repeat the steps you previously did to make a time machine share

Bug Clerk June 9, 2024 at 9:11 PM

Bonnie Follweiler May 14, 2024 at 8:34 PM

Thank you .

I have moved this ticket into our queue to review.

An engineering representative will update with any further questions or details in the near future.

If i wouldn’t be too much trouble, please create a “suggestion” ticket for the modification of the language in the “Attach Debug” area?

TJ Horner May 14, 2024 at 7:25 PM

I’ve uploaded the debug file. I was hesitant to do it through the TrueNAS GUI because I wasn’t sure if the file would be publicly visible/attached to the ticket.

As a minor suggestion I’d probably modify the language on the “Attach debug” checkbox to make it clear the file will only be visible to iX engineering

Complete

Details

Assignee

Reporter

Labels

Story Points

Original estimate

Time remaining

0m

Components

Priority

Katalon Platform

Created May 14, 2024 at 2:46 PM
Updated June 18, 2024 at 8:14 AM
Resolved June 18, 2024 at 8:14 AM