Opened 16 years ago
Closed 14 years ago
#3343 closed defect (fixed)
[patch] Error onClick "Remove selected accounts" when no account is selected
Reported by: | Eli Iser | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | minor | Keywords: | user admin |
Cc: | John Hampton | Trac Release: | 0.11 |
Description
Clicking "Remove selected accounts" when no account is selected leads to an error.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
Cc: | John Hampton added; anonymous removed |
---|---|
Keywords: | user admin added |
Summary: | "Remove selected accounts" when no account is selected → [patch] Error onClick "Remove selected accounts" when no account is selected |
Changed 14 years ago by
Attachment: | 20100926_acct_mgr-fix_3343.patch added |
---|
simple check for empty argument
comment:2 follow-up: 3 Changed 14 years ago by
Patch has been applied to current trunk version and successfully tested with Trac 0.12 right now. A click without selection does just nothing.
comment:3 Changed 14 years ago by
Owner: | changed from Matt Good to Steffen Hoffmann |
---|---|
Status: | new → assigned |
Replying to hasienda:
Patch has been applied to current trunk version and successfully tested with Trac 0.12 right now. A click without selection does just nothing.
While the application has been tested now for some weeks, commit to trunk is still pending. But I'll do it soon, and can do myself, as I've taken over maintainership recently.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [9319]) AccountManagerPlugin: Add a simple input check, closes #3343.
Confirmed, this is still true for trunk version with Trac 0.12.
It throws an AttributeError: 'NoneType' object has no attribute 'lower'
A simple check for empty argument list inside the delete handler should be sufficient. See the patch, that I'll attach in a minute.