Support Call: 545
Subject Roster Editing Issue
Status Closed
Assigned To FA Joshua Hawkins
Logged By ADM Cyrel Vandroth
Logged On Mar 12, 2016
Call Text When attempting to add a previously reserve player to the academy (to bring them out of reserve), I noticed a strange issue.

Upon saving the player (Domeno) to position 7, the old-style roster page (where you make edits) lists the spot as 'None (IO)'. The actual edit page, on subsequent edits, lists the position as simply 'none'.

I tried adding him to position 14, and got the same behavior.

However, when I went back to the front-end rs.org side and selected 'roster' from the nav bar, Domeno appeared in slots 7 and 14, with his 'reserve' tag. I proceeded to my admin menu and selected 'process reserves', which appropriately removes his reserve tag, but now I cannot set either position 7 or 14 to anything other than what it currently is. Attempting to edit them to 'None' changes nothing. Attempting to edit them to myself, an already active member, changes nothing.

I do not know if this error cropped up due to adding someone who was reserve (although I'm unaware of any other way to pull them OUT of reserve other than the steps I followed), but there seems to be a disconnect between what the front-page roster is seeing, and what the back-end roster edit tool is seeing.

I haven't tried to make any additional roster changes as to not gunk up the database if something is wrong. However, some squad shuffling is about to need to happen. Please let me know what you find.
Action History
Mar 12, 2016 This was weird. The positions table kept adding new lines for the same position instead updating. So as it was there were 8 lines for debo in position 7 and 2 for 14.. not to mention cyrel was also in those positions at some point. I have cleared out the offending lines in the DB, hopefully this will fill it. Still testing though. (FA Joshua Hawkins)
Mar 12, 2016 ok, I've added in a code to delete 0 pins out of the positions table when you edit the squad. This seems to have fixed the issue... I'll leave this open for a couple of days to see if this issue pops up again. (FA Joshua Hawkins)
Mar 14, 2016 Closing - works fine now. Tested on the academy squad. (FA Licah Fox)