We have a “FOO” model that has a related “FOO Comments” model. Our usual workflow is to create a comment directly from a specific FOO in ForestAdmin. However today this does not work anymore, when clicking on the “Create” button it goes into spinner mode without sending any requests to the backend. The spinning goes one forever without a visible error.
The navigator console shows the following JS error :
Uncaught TypeError: n.referenceModel is null
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:15033
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:15032
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
l http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:17788
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:4325
trigger http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3537
n http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3397
_run http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5281
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3551
a http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3769
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3551
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3476
setupHandler http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3501
dispatch http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1486
handle http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1481
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
_wrapEventTarget http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24421
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:19369
add http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1481
Ae http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1478
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1262
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1255
Ae http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1478
on http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1498
setupHandler http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3500
setup http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3487
setupEventDispatcher http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3583
_bootSync http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3582
didBecomeReady http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3601
invoke http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5210
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5202
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5216
_end http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5279
_boundAutorunEnd http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5230
promise callback*i/< http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5186
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3848
_scheduleAutorun http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5293
_ensureInstance http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5291
schedule http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5251
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3156
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5685
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5682
d http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5685
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
k http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
n http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1699
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
c http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:18910
_wrapXHR http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24423
_wrapXHR http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24423
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:19381
send http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1700
ajax http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1676
t http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
getJSON http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
initialize http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:1077
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
initialize http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:1077
runInitializers http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3714
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5321
walk http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5311
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5303
topsort http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5303
_runInitializer http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3717
runInitializers http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3714
_bootSync http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3599
domReady http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3596
_run http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5281
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
bind http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3854
l http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1411
c http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1412
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
setTimeout handler*Te</e.prototype._wrapTimeFunction/< http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24420
a http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1413
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
fire http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
ready http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
$ http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
EventListener.handleEvent* http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1248
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1248
client-6964bf705f3ef8c9d1497abd7ab65355.js:15033:1
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:15033
forEach self-hosted:206
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:15032
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
l http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:17788
value http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:4325
value self-hosted:1161
trigger http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3537
n http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3397
_run http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5281
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3551
a http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3769
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3551
handleEvent http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3476
setupHandler http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3501
dispatch http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1486
handle http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1481
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
(Async: EventListener.handleEvent)
_wrapEventTarget http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24421
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:19369
add http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1481
Ae http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1478
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1262
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1255
Ae http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1478
on http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1498
setupHandler http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3500
setup http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3487
setupEventDispatcher http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3583
_bootSync http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3582
didBecomeReady http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3601
invoke http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5210
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5202
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5216
_end http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5279
_boundAutorunEnd http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5230
(Async: promise callback)
i http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5186
flush http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3848
_scheduleAutorun http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5293
_ensureInstance http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5291
schedule http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5251
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3156
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5685
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5682
d http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5685
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
k http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
n http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1699
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
(Async: EventHandlerNonNull)
c http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:18910
_wrapXHR http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24423
forEach self-hosted:206
_wrapXHR http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24423
p http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:19381
send http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1700
ajax http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1676
t http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
getJSON http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1688
initialize http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:1077
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
e http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5710
initialize http://app.forestadmin.com/assets/client-6964bf705f3ef8c9d1497abd7ab65355.js:1077
runInitializers http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3714
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5321
walk http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5311
each http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5303
topsort http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5303
_runInitializer http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3717
runInitializers http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3714
_bootSync http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3599
domReady http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3596
_run http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5281
_join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5280
join http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:5246
h http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3851
bind http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:3854
l http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1411
c http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1412
r http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24384
(Async: setTimeout handler)
_wrapTimeFunction http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:24420
a http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1413
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
fire http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
u http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1404
fireWith http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1405
ready http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
$ http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
(Async: EventListener.handleEvent)
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1422
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1248
<anonymous> http://app.forestadmin.com/assets/vendor-d66ca7ec29e5947ac1d29d453ac03f87.js:1248
However creation directly from “FOO Comments” works fine.
I hope this is enough information to find the problem, otherwise I’ll be glad to supply more details.