mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 17:36:01 +03:00
[GH-ISSUE #1316] Cannot save parameters at all #1060
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#1060
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 @herrbischoff on GitHub (Dec 5, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1316
Impacted versions
Steps to reproduce
Trying to save parameters.
Current behavior
Does not save parameters.
Expected behavior
Saves parameters.
Video/Screenshot link (optional)
This is a brand new installation. Of note is that there isn't even a request being made to
https://mail.domain.com/core/parameters/which should happen.@pruje commented on GitHub (Dec 6, 2017):
Hi @herrbischoff
I'm not part of the modoboa team, but I had the same issue.
The problem is that you have to set the field "Default password" that is not "password", but a complex password with 8 characters minimum, at least one digit and one uppercase character.
BTW, @tonioo it would be nice to have explanation messages when failing to submit that form.
Thanks and keep the good work!
@herrbischoff commented on GitHub (Dec 6, 2017):
@pruje: The password is set to something else than the default (which initially appeared to work) and there is no notice about it whatsoever:
@herrbischoff commented on GitHub (Dec 6, 2017):
In the developer tools I can see a JavaScript event attached to the form to send an Ajax request but somehow this is never fired. I have another install on a different server that works without a hitch. If there's no obvious solution to this, I'm just going to wipe the server and reinstall everything as it's not in active use for now.
@tonioo commented on GitHub (Dec 7, 2017):
@herrbischoff Can you try again after a full refresh the page (ctrl+F5) and also check all tabs to see if you haven't forgotten something.
@herrbischoff commented on GitHub (Dec 7, 2017):
@tonioo: I tried both several times and finally just gave up and ran the Modoboa installer again. Afterwards all data was still there and it worked.
Coming to think about it, the difference is that there is now no Radicale plugin that I installed at some point. It may have had something to do with this. If it does, there really should be more intelligent form validation.
I was thinking about the way the interactivity is currently implemented. I would really love to rewrite it in Vue.js to be more lightweight and intelligent, basically turning the admin panel UI into a SPA. Is this something you would be open to? If so, this would without a doubt be a longer-term project since all plugins probably needed reworking as well.
@tonioo commented on GitHub (Dec 7, 2017):
@herrbischoff Yes, I think it is related to the radicale plugin which has an empty setting by default.
Rewriting the user interface using vue.js is something I plan to do (I already did the contacts plugin like this and I'm working on a new radicale plugin) but, as you said, it is a longer-term project. Anyway, I'd really need help about this. Would you be ready to work on this with me?
@herrbischoff commented on GitHub (Dec 7, 2017):
@tonioo: Sure, I'm up for it. I recently finished several Vue.js-based client projects so I'm quite up-to-speed working with the framework. From what I've seen, Modoboa does all of its interaction with the API though REST calls. This should make it manageable to transition to Vue. I can involve myself for some time every week but obviously I cannot guarantee availability with needing to earn money and all that. That being said, I really like Modoboa's approach and will gladly help out to make it even better.
Maybe somewhere along the way we can tackle a FreeBSD installer as well. ;)
@tonioo commented on GitHub (Dec 7, 2017):
@herrbischoff I understand the need for money, I've got the same problem ;-) (who doesn't?)
As you mentioned it, Modoboa provides a REST api which could be used as a starting point but it needs some improvements. I'd also like to update the way menu items are organized.
How could we start this?
@herrbischoff commented on GitHub (Dec 7, 2017):
I'm closing this as the original issue is resolved. It was apparently caused by an unconfigured Radicale plugin. Please see the new issue I opened regarding web interface refactoring.