AttributeError: 'bool' object has no attribute 'split'

Bug #1303569 reported by Seyed Mohammad Motahar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Server Environment And Tools
New
Undecided
Unassigned

Bug Description

When I put below information to test it with gmail I am facing below problem:

File "/opt/ingenuity_modules/fetchmail_attach_from_folder/match_algorithm/email_exact.py", line 35, in _get_mailaddresses
    fields = conf.mail_field.split(',')
AttributeError: 'bool' object has no attribute 'split'

Here is the information I put in the incoming mail configuration in openerp7:

server: smtp.gmail.com
port :993
SSL:True
username: <email address hidden>
password: mypassword

Path Model Field (model) Match algorithm Field (email)
INBOX Message Domain of email address
"[Gmail]/Sent Mail" Message Domain of email address

Regards,
Mohammad

Related branches

Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Go to your folder configuration and fill in 'to' or 'from' into the field 'Field (email)'. This matching algorithm also requires 'Field (model)' to be filled to do something useful.

Yes, you should get a warning or even an error message for filling in an invalid configuration, that would be a lot more user friendly.

Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Can you verify there are no required fields in 7.0 (I can't access a running instance currently) when you chose different matching algorithms?

If so, that's a bug and should be fixed.

Revision history for this message
Seyed Mohammad Motahar (mohammad.motahar) wrote :

I can verify that "field (model)" and "field (email)" are not required when I chose different matching algorithms. Probably can be an enhancement to make them required depending on the "Matching algorithm"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.