[FOLIO-1760] Testing Environment Unavailable due to error on first page Created: 31/Jan/19  Updated: 03/Jun/20  Resolved: 31/Jan/19

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Marc Johnson Assignee: Zak Burke
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:

 Description   

When visiting the first page of folio-testing, the following error occurs:

Uncaught TypeError: (0 , (intermediate value)(intermediate value)(intermediate value).leaveModule) is not a function
    at Object.<anonymous> (connectErrorEpic.js:1)
    at Object.<anonymous> (connectErrorEpic.js:1)
    at o (bootstrap:63)
    at Object.<anonymous> (App.js:6)
    at Object.<anonymous> (App.js:15)
    at o (bootstrap:63)
    at Object.<anonymous> (index.js:5)
    at o (bootstrap:63)
    at Object.<anonymous> (index.js:1)
    at o (bootstrap:63)
(anonymous) @ connectErrorEpic.js:1
(anonymous) @ connectErrorEpic.js:1
o @ bootstrap:63
(anonymous) @ App.js:6
(anonymous) @ App.js:15
o @ bootstrap:63
(anonymous) @ index.js:5
o @ bootstrap:63
(anonymous) @ index.js:1
o @ bootstrap:63
(anonymous) @ bootstrap:195
(anonymous) @ bootstrap:195


 Comments   
Comment by Zak Burke [ 31/Jan/19 ]

The hourly rebuild of stripes seems to have resolved this problem with no human intervention. I'm writing it off as a build hiccup that caused a corrupt bundle. On the one hand, I'm curious about what happened and would like to prevent it from repeating. On the other, I'm not that interested in one-off build hiccups. If it recurs, we can investigate then.

Comment by Zak Burke [ 31/Jan/19 ]

I couldn't resist. Playing with the bundle from folio-snapshot, which was working fine, and folio-testing, which wasn't:

$ file snapshot-bundle.cfe4d6b44329be92cfa4.js 
snapshot-bundle.cfe4d6b44329be92cfa4.js: UTF-8 Unicode text, with very long lines

$ file testing-bundle.385f6d0de4e698ffaf01.js 
bundle.385f6d0de4e698ffaf01.js: data

"data" basically means "binary" or "I couldn't figure what this was so I'm calling it 'data'" which reinforces the corrupt build theory. Still no idea why it was corrupt, but this is some confirmation of the symptom we were seeing.

Generated at Thu Feb 08 23:15:42 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.