#1082 closed defect (fixed)
Form validation broken for incorrect home user dirs (since before 8.0.3)
| Reported by: | gcooper | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Backend | Version: | 8.0.2-RELEASE |
| Keywords: | Cc: |
Description
- Create or edit a user.
- Enter in a path that either doesn't start with '/mnt' or '/nonexistent'.
Expected results:
- GUI should provide feedback that the input is bogus.
Actual result (behavior differs, depending on the version):
- 8.0.2:
- Prints out a traceback (says that 'bsdusr_home' isn't in self.cleaned_data).
- Doesn't add/modify the user.
- trunk:
- Prints out undefined in the dialog.
- Doesn't add/modify the user.
This issue has existed since 8.0.2-p1 at least... I vaguely remember it working before then, but I believe that the clean logic is incorrect.
Change History (5)
comment:1 Changed 18 months ago by gcooper
comment:2 Changed 18 months ago by yaberauneya
In [9039/freenas]:
comment:3 Changed 18 months ago by gcooper
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 18 months ago by yaberauneya
In [9040/freenas]:
comment:5 Changed 18 months ago by yaberauneya
In [9040/freenas]:
Note: See
TracTickets for help on using
tickets.

I take that back. It _does_ traceback if you enable tracebacks in the GUI. So the 'An error occurred' message is broken now.