Steps to replicate the issue (include links if applicable):
- Create a Poll on Special:SecurePoll
- Vote
- Check List
- Click on Details of any of the voters
What happens?:
You get an SQL Error
What should have happened instead?:
Getting a normal list
• AGueyte | |
Apr 11 2023, 3:50 PM |
F36954620: T334421_SecurePoll_Details_OtherSkinsSpacing.png | |
Apr 17 2023, 5:31 PM |
F36954615: T334421_SecurePoll_Details_MinervaSpacing.png | |
Apr 17 2023, 5:31 PM |
F36950816: T334490_SecurePoll_VotersDetail.png | |
Apr 13 2023, 9:51 PM |
F36948779: T334490_SecurePoll_Deprecate.png | |
Apr 12 2023, 11:34 PM |
F36947153: Screenshot 2023-04-11 at 11.50.09 AM.png | |
Apr 11 2023, 3:50 PM |
F36947149: Screenshot 2023-04-11 at 11.40.31 AM.png | |
Apr 11 2023, 3:50 PM |
Steps to replicate the issue (include links if applicable):
What happens?:
You get an SQL Error
What should have happened instead?:
Getting a normal list
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix SQL Error on Voter Details Page | mediawiki/extensions/SecurePoll | master | +2 -2 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In Progress | • Niharika | T324492 Temporary accounts - MVP | |||
Open | None | T326816 Update features for IP Masking | |||
Open | Tchanders | T326869 Update TSP-owned products that may be affected by IP Masking | |||
Resolved | • AGueyte | T331750 Investigate: Update SecurePoll for IP Masking | |||
Resolved | BUG REPORT | • AGueyte | T334490 SecurePoll Vote Details returns SQL Error |
Change 907913 had a related patch set uploaded (by AGueyte; author: AGueyte):
[mediawiki/extensions/SecurePoll@master] Fix SQL Error on Voter Details Page
Change 907913 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Fix SQL Error on Voter Details Page
@AGueyte One issue that I came across so far when creating a poll and clicking on the details of the voter is not an SQL error anymore but a deprecate on line 130 as seen in the screenshot below.
OS: macOS 13.2
Browser: Chrome 112
Skins: Vector 2010
Local- SQLite
Beta- MySQL
I think it's a fair warning from htmlspecialchars() as the vote value might not always include special chars.
I'm happy to leave it as is.
@AGueyte Ok sounds good! I did notice one more minor possible issue under the Minerva skin as seen below for "User agent". I'm not sure if you want a separate ticket or if this is fine.
Minerva Skin- no matter the Zoom level, it's still 2 lines for "User agent" field unlike the rest of the skins, it's just one line.
Other Skins
Sounds good to me! I'll move this to Done as stated in https://phabricator.wikimedia.org/T334490#8786750. Thanks!