#3180 closed defect (bug) (fixed)
Plugin Directory Admin: Rejecting a plugin with an existing name causes weird errors
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
When a plugin is rejected its slug is changed from plugin-name to rejected-plugin-name-rejected
The problem is that people could submit the SAME plugin name again and get the slug plugin-name, which when rejected would be rejected-plugin-name-rejected ... again
This throws an error telling you that the name is already in use. If you go back and refresh the post, there is no more slug to edit and the name is kind of messed up.
In the case of REJECTED plugins, we shouldn't use the same if-name-exists check, and instead allow appending of a -2 as needed.
Change History (4)
Note: See
TracTickets for help on using
tickets.
This used to work and would add the -2 correctly, I thought. Might be worth looking at the changes to see when this broke.