MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.73k stars 120 forks source link

Swift Type Checks times table fails to load properly in HTML report if there are too many rows #93

Closed ecamacho closed 3 years ago

ecamacho commented 4 years ago

With large build logs, that table throws an error in the Browser's console and as a result, the table doesn't show the search field nor is paginated. Originally reported by @BalestraPatrick

jquery-3.3.1.slim.min.js:2 Uncaught RangeError: Maximum call stack size exceeded
    at Function.oe [as find] (jquery-3.3.1.slim.min.js:2)
    at w.fn.init.find (jquery-3.3.1.slim.min.js:2)
    at HTMLTableElement.<anonymous> (jquery.dataTables.min.js:102)
    at Function.each (jquery-3.3.1.slim.min.js:2)
    at w.fn.init.each (jquery-3.3.1.slim.min.js:2)
    at w.fn.init.q [as dataTable] (jquery.dataTables.min.js:96)
    at w.fn.init.f.fn.DataTable (jquery.dataTables.min.js:179)
    at drawSwiftTypeChecks (app.js:599)
    at drawCharts (app.js:138)
    at app.js:115
ecamacho commented 3 years ago

Fixed in https://github.com/spotify/XCLogParser/releases/tag/v0.2.21