Opened 17 years ago
Closed 15 years ago
#2311 closed defect (fixed)
Setting "keywords" removes any existing keywords for ticket(s)
Reported by: | Morris | Owned by: | CuriousCurmudgeon |
---|---|---|---|
Priority: | normal | Component: | BatchModifyPlugin |
Severity: | minor | Keywords: | keywords |
Cc: | Morris | Trac Release: | 0.11 |
Description
Example: ticket #52 has keywords set to "test ticket blah". If I use the BatchModifyPlugin capability to set the keywords field for ticket #52, the existing keywords values were removed and the new ones set.
Now, it could just be a matter of differing expectations, but I think in this particular case the plugin should check the value of the keywords field and decide what to do accordingly: any text input should be appended to the existing keywords value (with requisite space inserted); if and only if the input value is empty would the existing keyword value be removed.
Just my $0.02...
Note: I'm using BatchModifyPlugin on Trac 0.11
Attachments (0)
Change History (11)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
We would also appreciate this fix, because now keywords in this plugin are for us useless. Thank you
comment:3 Changed 16 years ago by
I think the new keywords should not simply be appended to the text field but rather merged with the existing ones, i.e. when one of the newly added keywords already exists on the ticket I would not want to have it duped after the batch modification...
comment:4 Changed 15 years ago by
Owner: | changed from ashwin_phatak to CuriousCurmudgeon |
---|---|
Status: | new → assigned |
comment:5 Changed 15 years ago by
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
An exception is thrown if the user does not submit any new keywords.
comment:8 Changed 15 years ago by
Status: | reopened → new |
---|
comment:9 Changed 15 years ago by
Status: | new → assigned |
---|
comment:10 Changed 15 years ago by
comment:11 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I wholeheartedly agree with your expectation. I'd love to use this plugin, but little stuff like this is holding me back. So make that $0.04. :)