Reproduction scenario:
1. Create a new file document
2. Drag&drop a new version of this file
Likely introduced by
git #tuleap/stable/b6e0884243aaa2106db1b6937dd3b027345a1c99.
Trace:
Uncaught RangeError: date value is not finite in RelativeTimeFormat.format()
formatRelativeDate relative-date-formatter.ts:335
updateDates relative-date-element.ts:92
connectedCallback relative-date-element.ts:35
VueJS 19
_callee2$ upload-file.js:91
Babel 8
_emitSuccess upload.js:461
_handleUploadResponse upload.js:798
_performUpload upload.js:716
promise callback*_performUpload upload.js:709
_resumeUpload upload.js:669
promise callback*_resumeUpload upload.js:601
_startSingleUpload upload.js:346
start upload.js:178
promise callback*start upload.js:171
uploadVersion upload-file.js:103
uploadVersionAndAssignUploader actions.js:439
_callee32$ actions.js:415
Babel 10
uploadNewVersion document-3b810c2682ffa844717c.js:59580
_callee31$ actions.js:297
Babel 8
createNewFileVersion actions.js:295
wrappedActionHandler vuex.esm.js:847
dispatch vuex.esm.js:512
boundDispatch vuex.esm.js:402
_callee2$ DragNDropHandler.vue:386
Babel 8
_callee$ DragNDropHandler.vue:193
relative-date-formatter.ts:335:47
format self-hosted:7585
formatRelativeDate relative-date-formatter.ts:335
updateDates relative-date-element.ts:92
connectedCallback relative-date-element.ts:35
VueJS 19
_callee2$ upload-file.js:91
Babel 8
_emitSuccess upload.js:461
_handleUploadResponse upload.js:798
_performUpload upload.js:716
(Asynchrone : promise callback)
_performUpload upload.js:709
_resumeUpload upload.js:669
(Asynchrone : promise callback)
_resumeUpload upload.js:601
_startSingleUpload upload.js:346
start upload.js:178
(Asynchrone : promise callback)
start upload.js:171
uploadVersion upload-file.js:103
uploadVersionAndAssignUploader actions.js:439
_callee32$ actions.js:415
Babel 10
uploadNewVersion document-3b810c2682ffa844717c.js:59580
_callee31$ actions.js:297
Babel 8
createNewFileVersion actions.js:295
wrappedActionHandler vuex.esm.js:847
dispatch vuex.esm.js:512
boundDispatch vuex.esm.js:402
_callee2$ DragNDropHandler.vue:386
Babel 8
uploadNewFileVersion self-hosted:935
_callee$ DragNDropHandler.vue:193