Opened 13 years ago
Last modified 5 years ago
#9524 new defect
AttributeError: 'NoneType' object has no attribute 'strip'
Reported by: | Owned by: | Alejandro J. Cura | |
---|---|---|---|
Priority: | normal | Component: | RecaptchaRegisterPlugin |
Severity: | normal | Keywords: | internal error strip |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
hello!, i have the error when post the register form. (the captcha is show fine but can't register) i have disbled the register module from the AccountManager to get the correct captcha register form
Trac 0.12 TracAccountManager 0.3.1 TracRecaptchaRegister 0.2.1.2
see screenshot attached
Attachments (3)
Change History (11)
Changed 13 years ago by
Attachment: | bug_captcha_trac.png added |
---|
comment:1 Changed 13 years ago by
Keywords: | internal error, strip → internal error strip |
---|---|
Summary: | internal error: AttributeError: 'NoneType' object has no attribute 'strip' → AttributeError: 'NoneType' object has no attribute 'strip' |
comment:2 Changed 13 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|
There might be a conditional missing, or a conversion None -> ''
(empty string).
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 13 years ago by
comment:6 Changed 13 years ago by
So, the most easiest way to fix this ? I'm interested maybe I can fix it at my trac instance by editing some files or so
Changed 13 years ago by
Attachment: | 20111219_recaptcharegister_fx-9524_easy.patch added |
---|
easies fix by updating just all occurrences of the old fieldname 'user'
comment:7 Changed 13 years ago by
There is a dead-simple, stupid way to fix the issue, somehow.
You'll trash AcctMgr's i18n support for this template, but this is always true, since this plugin has no i18n support anyway. But this could break again at any time, so the more sophisticated fix using ITemplateStreamFilter
should be preferred, once someone develops it.
comment:8 Changed 5 years ago by
Cc: | Ryan J Ollos removed |
---|
#9620 has been closed as a duplicate of this ticket.