mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #693] Domain removal fails when manual learning is enabled #646
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#646
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 @piwats on GitHub (Feb 16, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/693
Originally assigned to: @tonioo on GitHub.
Hi,
I tried to add xx.domain.tld in the domain list as a domain in modoboa-1.2.0. It seems that this is not possible any more.
domain.tld seems to be not problematic.
Is it possible to revert to a previous state, when it was possible to do so?
-Paul
@tonioo commented on GitHub (Feb 17, 2015):
Hi,
could you give more information? I don't reproduce your issue on the demo site.
@piwats commented on GitHub (Feb 17, 2015):
I have a domain.tld in my domains list.
When I try to add a subdomain like the one described, xx.domain.tld, modoboa refuses to create it, stating that the name of the domain is invalid.
If I try to add a domain, which parent domain is not on the list already, then xy.domain2.tld will be created. Here domain2.tld was not in the list of created domains before xy.domain2.tld was created.
That is, when domain.tld is already added to modoboa, it is not possible to add subdomains of this domain.
@tonioo commented on GitHub (Feb 17, 2015):
Could you try on the official demo please ? (http://modoboa.sys4.de)
I've just created a sub domain... What is the role of the connected user?
@piwats commented on GitHub (Feb 17, 2015):
Hmm, it seems that my installation of modoboa has some troubles:
If I add a completely new domain, be it "test.com" to my modoboa instance, and later add another subdomain "test.test.com", then it works - with no problems at all.
It seems that domains added by previous modoboa installations, <1.2.0, are affected so it is not possible to add domains in the scheme which leads to this problem.
@piwats commented on GitHub (Feb 17, 2015):
Furthermore, when trying to delete the domain to which it is not possible to add subdomains I get this 500 Internal Server error:
@piwats commented on GitHub (Feb 17, 2015):
The role of the connected user is always the same - super admin
@tonioo commented on GitHub (Feb 18, 2015):
Hi,
I've pushed a fix that should allow you to delete the domain. Can you please try it?
@piwats commented on GitHub (Feb 18, 2015):
Hello,
the fix allowed to remove the domain which prior to this couldn't be removed.
If I recreate the removed domain again and try to add a subdomain to it, modoboa fails with the same error, that the domain name is invalid.
@piwats commented on GitHub (Feb 18, 2015):
I just noticed, that I am now able to create a test.domain.tld subdomain, but not a z.domain.tld.
Is it possible that one character subdomains are not allowed for creation in modoboa?
@tonioo commented on GitHub (Feb 18, 2015):
It would be easier with the full backtrace or a screenshot.
@piwats commented on GitHub (Feb 18, 2015):
You get the same error on the official modoboa demo:
1.) create a domain "a.test.com" (it is not important to have a "test.com" domain prior to this)
2.) In the form-box where you enter the name you get a "Enter a valid domain name"-error.
I get following Errors in Chrome developer-tools:
and
No other errors in logs are to be found.
@piwats commented on GitHub (Feb 18, 2015):
Can you split this bug into two, one which affects the amavis extension, and another one which affects the subdomain/domain creation, if the two of them are not related to each other?
@tonioo commented on GitHub (Feb 19, 2015):
Sure. I'll create a new issue.