Project

General

Profile

Bug #92033

Updated by Sybille Peters over 3 years ago

h2. Related to 

 This was first noticed when testing https://review.typo3.org/c/Packages/TYPO3.CMS/+/65208 

 h2. Reproduce 

 I used current master with my pages table from production (with about 40000 pages). To reproduce this error, I think it is necessary for the queries to take a while so that you get an overlap between the consecutive queries (for 1, 12 and 123) when using the filter. 

 # Use the filter to filter for a specific page e.g. 8466 and select it 
 # Clear filter and then Now press 1 then 2 and 3 with a little delay in between for the query to get invoked but not enough for the query to be finished. (this will invoke filter with '1', '12' and '123'. 

 h2. Result 

 an error is displayed as flash message: 

 > Page tree error 
 > Got unexpected response from the server. Please check logs for details. 


 In the Browser console: 

 > Uncaught SyntaxError: Unexpected token < in JSON at position 0 
     at JSON.parse (<anonymous>) 
     at Object.<anonymous> (d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:8) 
     at XMLHttpRequest.c (d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:6) 
 (anonymous) @ d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:8 
 c @ d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:6 
 load (async) 
 Xk @ d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:6 
 (anonymous) @ d3.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:6 
 PageTree.filterTree @ PageTree.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:458 
 PageTree.refreshOrFilterTree @ PageTree.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:488 
 TreeToolbar.search @ PageTreeToolbar.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:232 
 (anonymous) @ PageTreeToolbar.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:205 
 setTimeout @ DebounceEvent.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:13 
 setTimeout (async) 
 (anonymous) @ DebounceEvent.js?bust=28c4bb4fe3488f05a0e2eacad6f401e00a588ba9:13 


 PageTree.js 472 

Back