mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #457] Editing nested folders does not preselect proper values #441
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/457
Originally assigned to: @tonioo on GitHub.
Originally created by Miroslav Abrahám on 2013-09-07T22:22:53Z
When I try to edit nested folders in a webmail, the edit form does not hape proper values selected.
The name of the folder to edit contains all parent folders divided with a delimiter (which is not "." in my case but is "/").
Also the parent folders should be selected but are not.
I assume this is the delimiter issue.
@tonioo commented on GitHub (Dec 4, 2013):
Posted by Miroslav Abrahám on 2013-09-07T23:18:19Z
One step closer to the solution:
replace in file "modoboa/extensions/webmail/views.py" line 174 with this code
and line 196 with this code
In both cases the delimiter was missing and the default "." was used.
Now the parent folder is properly found and selected but parent folders contain the whole folder tree.
@tonioo commented on GitHub (Dec 4, 2013):
Posted by Antoine Nguyen on 2013-09-09T19:39:29Z
Applied in changeset commit:1036aa31a21d798df70536fe7821a8d6464853f4.