franciscoBSalgueiro / en-croissant

The Ultimate Chess Toolkit
https://encroissant.org
GNU General Public License v3.0
663 stars 84 forks source link

Error importing .PGN files #438

Open arimourao opened 3 weeks ago

arimourao commented 3 weeks ago

Describe the bug

When importing a PGN files with multiple games or lines, it works just fine IF the user doesn't check the option "Save to Collection". When "Save to Collection" is selected, it is only imported the first game in the .PGN file.

1

2

3

4

Reproduction

Go to "Import Game"

Leave the option "PGN" selected, select a .PGN file which contains multiple games or lines

Check the option "Save to Collection"

No matter what category you select (repertoire, tournament and so on)

The .PGN will be imported with just one game

Platform and versions

Linux Mint 22

Stack trace

None
geoyogesh commented 2 days ago

Facing the same issue