mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #3645] auto-reply broken (?) #1876
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#1876
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 @xinomilo on GitHub (Aug 1, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3645
Impacted versions
Steps to reproduce
try to add auto-reply message.
Current behavior
trying to add a new auto-reply we get an internal server error message, auto-reply not added. :
AttributeError at /api/v2/account/armessage/
'int' object has no attribute 'startswith'
Request Method: PUT
Request URL: https://example.com/api/v2/account/armessage/
Django Version: 5.2.4
Exception Type: AttributeError
Exception Value:
'int' object has no attribute 'startswith'
Exception Location: /srv/modoboa/env/lib/python3.11/site-packages/sievelib/factory.py, line 284, in __create_filter
Raised during: modoboa.autoreply.api.v2.viewsets.AccountARMessageViewSet
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.11.2
Python Path:
['.',
'',
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
'/srv/modoboa/env/lib/python3.11/site-packages']
Expected behavior
add working auto-reply message.
thx in advance,
@tonioo commented on GitHub (Aug 1, 2025):
Make sure you use latest version of the sievelib package
@xinomilo commented on GitHub (Aug 1, 2025):
thanks for the superfast reply :)
it's working fine now! (using sievelib 1.4.2)
best,