Saved analysis "resets" board bug

Sort:
Avatar of Varego

Overview: 

When going to analysis of a game with saved analysis. The position will reset to where the analysis start. Even though the position is past the analysis. The analysis PGN does not include the moves after analysis.

Environment: 

Google Chrome 61.0.3163.100 (Official Build) (64-bit)

Mac OS 10.12.6 (16G29)

Example game: https://www.chess.com/daily/game/176687922 (mostly for admins, as other users cannot see my analysis)

 

Steps to Reproduce:  

  1. Go to a daily game
  2. Click analysis button
  3. Do some analysis moves and click Save
  4. Return to the game when the opponent has done a move
  5. Go to analysis
  6. The board will fade out/go to analysis, but reset to before the analysis.

Result: The board will reset to before analysis, and PGN will not contain last move by opponent.

 

Here is a screen shot of before analysis. Notice last move were Rc8 by my opponent.

Before analysis

PGN and FEN from game (Notice FEN says move 19):

2rq1rk1/ppN2ppp/2n1bn2/8/3p1B2/1P1B1N2/P1P1QPPP/4R1K1 w - - 1 19

[Event "ChessUniversity.com Tournament of Speed Champions Division #3 - Round 1"]
[Site "Chess.com"]
[Date "2017.10.10"]
[Round "?"]
[White "bnordtorp"]
[Black "bendconnell"]
[Result "*"]
[ECO "C00"]
[WhiteElo "1692"]
[BlackElo "1378"]
[TimeControl "1/259200"]

1. d4 e6 2. e4 d5 3. Nc3 c5 4. Nf3 Nc6 5. exd5 exd5 6. dxc5 Nf6 7. Bg5 Be6 8.
Bd3 Bxc5 9. O-O Qb6 10. b3 Be7 11. Be3 Qc7 12. Nb5 Qb8 13. Qd2 O-O 14. Bf4 Qd8
15. Rfe1 d4 16. Nc7 Bb4 17. Qe2 Bxe1 18. Rxe1 Rc8 *

 

Now after clicking analysis, here are the Rc8 move is missing.

After analysis

 

PGN and FEN from analysis (notice FEN says move 18):

r2q1rk1/ppN2ppp/2n1bn2/8/3p1B2/1P1B1N2/P1P1QPPP/R3b1K1 w - - 0 18

[Event "ChessUniversity.com Tournament of Speed Champions Division #3 - Round 1"]
[Site "Chess.com"]
[Date "2017.10.10"]
[Round "?"]
[White "bnordtorp"]
[Black "bendconnell"]
[Result "*"]
[ECO "C00"]
[WhiteElo "1692"]
[BlackElo "1378"]
[TimeControl "1/259200"]

1. d4 e6 2. e4 d5 3. Nc3 c5 4. Nf3 Nc6 5. exd5 exd5 6. dxc5 Nf6 7. Bg5 Be6 8.
Bd3 Bxc5 9. O-O (9. O-O Qb6 10. b3 Be7 11. Be3 Qc7 12. Nb5 Qb8 13. Qd2 O-O 14.
Bf4 Qd8 15. Rfe1 d4 16. Nc7 Bb4 17. Qe2 Bxe1 18. Rxe1 Rc8) (9. O-O Qb6 10. b3
Be7 11. Be3 Qc7 12. Nb5 Qb8 13. Qd2 O-O 14. Bf4 Qd8 15. Rfe1 d4 16. Nc7 Bb4 17.
Qe2 Bxe1 18. Rxe1 Rc8) 9... Qb6 10. b3 Be7 11. Be3 Qc7 12. Nb5 Qb8 13. Qd2 O-O
14. Bf4 Qd8 15. Rfe1 d4 16. Nc7 Bb4 17. Qe2 Bxe1 (17... Bxe1 18. Rxe1 Rc8 19.
Nxe6 fxe6 20. Qxe6+) *

 

Expected Result: 

You should be taken to the analysis board to the current position.

Avatar of JahPastafari

+1 on this one, I experienced the same behavior, and it is indeed quite annoying !
Thanks for taking a look on this one happy.png

Avatar of MahoneyKevin

yes. this what I was saying. You can't use the analysis for the rest of the game, keeps freezing on the board it was on when you used it.

Avatar of jdcannon

New code on the way; should be fixed. Please try again in a couple hours an let me know if still happening. 

Avatar of Varego

Fantastic! This looks great! Mark my post as resolved/fixed/whatever happy.png

 

Avatar of jdcannon

Glad to hear that! 

Avatar of oliver732


Similar bug on this note:  When using analysis\practice against set up position,  the 50 move flag is not reset when the position is reset.

 

TY