Closed Unphrased date-time due to race condition in front-end javascript

Xon

Well-known member
Licensed customer
Affected version
2.2.15
If you expand the "history" tab on edited content while the page is loading, this will semi-reliably replace a formatted date-time string of Later today at XYZ with later_today_at_x (or other date-time related phrases)

This might explain some cases where the alert pop-up shows unphrased date-time strings.

This looks to be a race condition of XF.phrases being populated and the ajax request finishing and calling XF.setupHtmlInsert. I'm fairly sure this should still happen with XF2.3, but I can't test that.
 
Last edited:
Automated triage: Not a bug

Thank you for reporting this issue. This report is old and was made against 2.2. The page-start JavaScript has since been rewritten so that date phrases are always loaded before any content is set up, and nothing recent confirms the problem. If it still happens on the current version, please post a new report with steps to reproduce.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom