I am unpublishing some server nodes instead of deleting them. When I go to create a new server node with the same name it won't let me because of hosting_server_validate(). The query to check for duplicate names doesn't consider status.

Patch pending.

Comments

jon pugh’s picture

Status: Active » Needs review
StatusFileSize
new770 bytes

patch attached

anarcat’s picture

Status: Needs review » Needs work

I am hesitant in using the node status like this. In sites there's a separate status in the hosting_site table... I am not sure I like the idea too much either, but at least we should be consistent across content types....

jon pugh’s picture

Status: Needs work » Closed (won't fix)

Makes sense to me... I can work around it! :)