Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Who is Behind the Chess Variant Pages?. The editors, past editors, contributors, and inventors behind this site.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sat, Sep 30, 2023 09:20 PM UTC in reply to Chris Urquhart from Thu Sep 28 08:27 PM:

A variant I named but submitted no information for is claiming that the game name is submitted.

When you named the game, you submitted its name.

It doesn't stand to reason that I can't delete it because it is unnecessarily saying that the name is someone else's submission.

When I tried to create a page for a game called Eternal Chess, I got this message:

Error: You may not edit Eternal Chess, because this is a preexisting submission that you are not the author of.

Is that the message you got?

Using a different account, I created a page for a different game, and when I went back to create the same page again, I did not get this message. Instead, I got a form for filling out information about the game. However, there was no button here for deleting the page.

I then selected the "Your Unpublished Submissions" menu item in the menu with my name, and I got a page with the link to the game.

This brought me to the page, which lacked any description of the game, because I hadn't added any. On this page was a link to Delete this submission. Also, the Edit menu had a menu item called Delete submission. These each link to the same script with the same value for itemid in the query string. Following the menu item, it gave me this information:

## Delete Submission
There was no member submission to delete.

IsDeleted :: 1 ::: 0

UPDATE `Item` SET `IsDeleted` = :isdeleted WHERE `ItemID` = :keyvalue
Array
(
    [:isdeleted] => 1
    [:keyvalue] => MSbugglechess
)
The item MSbugglechess has now been marked as deleted.

Although it had been marked as deleted, the entry in the Item table had not been deleted.

When I tried to recreate the page again, it recognized that it was still in the database and gave me the form for editing it again.

When I followed the "Your Unpublished Submissions" menu item, I did not see the game listed this time.

Using my main account, I tried to create a game under the name I had used, and it would not let me, giving me the same error message I had reported earlier.

There are a few ways to fix the problem:

  1. Delete the Item entry instead of marking it as deleted.

  2. Conditionally delete the Item entry, perhaps if the author deletes it, or there are no comments.

  3. Allow ItemIDs that are marked as deleted to be reused by new authors.

I will allow people to weigh in on this before I change the code to do one of these.