lucaschessR2
lucaschessR2 copied to clipboard
Invalid PGNs are accepted
Steps:
- create a PGN file with the following contents:
[Variant "From Position"]
[FEN "5rk1/4R2R/5r2/8/8/8/5PPP/6K1 w - - 0 1"]
1. Rg7+
Tools→PGN→Read PGN fileand select the file
What happens:
- The file loads, the move list contains Reg7#
What should happen:
The program should either:
- Refuse to load the file and display an error message
- Load the file partially up to the invalid move, and optionally display an error message
The + is discriminant, a rare case. Fixed in the next update, it will be considered an error and it will not be imported. Thanks.