Open pvgenuchten opened 5 years ago
fwiw i'm seeing this on 3.8.3 using firefox (havent tested other browsers), but to me that doesnt seem related to the browser cache, rather due to a huge angular error in the browser console post-upload:
Error: [$injector:unpr] http://errors.angularjs.org/1.5.2/$injector/unpr?p0=decodeURIComponentFilterProvider%20%3C-%20decodeURIComponentFilter
O/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:18:416
db/n.$injector<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:55:7
d@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:52:270
db/K<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:55:69
d@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:52:270
Ic/this.$get</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:169:155
V@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:130:262
V/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:128:360
p@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:19:355
V@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:128:339
compile@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:235:489
parse@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:262:380
e@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:134:67
k@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:114:23
ba@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:88:2
Aa@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:72:325
P@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:69:470
P@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:70:131
P@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:70:131
P@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:70:131
R@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:68:2
Yb/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:73:330
d@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:70:352
l@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:74:384
compile/</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:306:251
$watchCollection/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:150:30
$digest@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:151:119
$apply@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:154:35
g@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:106:281
x@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:110:370
cg/</u.onload@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:111:398
EventHandlerNonNull*cg/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:111:234
n@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:107:488
m/g<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:105:142
e/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:139:69
$eval@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153:273
$digest@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:150:369
$evalAsync/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153:360
e@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:57:258
Vf/k.defer/c<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:60:158
setTimeout handler*Vf/k.defer@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:60:132
$evalAsync@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153:331
rf/this.$get</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:138:129
e@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:138:429
then@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:139:404
m@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:105:371
hf/this.$get</</</m[a]@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:108:379
get@https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1699:139
link/a.loadMetadataResources@https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1695:124
$broadcast@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:156:125
l@https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1696:99
_trigger@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4257:283
_onDone@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4283:375
c.widget/</l[b]</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247:435
l/e<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4285:8
i@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27151
fireWith@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27914
z@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9:12059
c/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9:15619
EventHandlerNonNull*send@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9:15805
ajax@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9:11518
l@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4284:483
_onSend@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4286:218
c.widget/</l[b]</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247:435
_addConvenienceMethods/b.submit@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4278:465
h@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4305:261
add/</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4306:341
$eval@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153:273
$apply@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153:506
add/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4306:52
i@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27151
add@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27450
always@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:28285
add@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4305:204
_trigger@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4257:283
_onAdd/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4287:265
each@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:2861
_onAdd@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4287:90
c.widget/</l[b]</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247:435
_onChange/<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4291:289
i@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27151
add@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:27450
always@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7:28285
_onChange@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4291:166
c.widget/</l[b]</<@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247:435
l@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4255:179
dispatch@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8:7537
add/r.handle@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8:5620
EventListener.handleEvent*add@https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8:6087
lib.js:126:266
e https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:126
get https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:99
$digest https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:151
$apply https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:154
g https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:106
x https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:110
onload https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:111
(Asynchrone : EventHandlerNonNull)
cg https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:111
n https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:107
g https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:105
e https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:139
$eval https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153
$digest https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:150
evalAsync https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153
e https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:57
c https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:60
(Asynchrone : setTimeout handler)
defer https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:60
$evalAsync https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153
get https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:138
e https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:138
then https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:139
m https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:105
a https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:108
get https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1699
loadMetadataResources https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1695
$broadcast https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:156
l https://ids.stage.craig.fr/geocat/static/gn_editor.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30&:1696
_trigger https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4257
_onDone https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4283
c.widget/</l[b]</< https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247
e https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4285
i https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
fireWith https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
z https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9
c https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9
(Asynchrone : EventHandlerNonNull)
send https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9
ajax https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:9
l https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4284
_onSend https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4286
c.widget/</l[b]</< https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247
submit https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4278
h https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4305
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4306
$eval https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153
$apply https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:153
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4306
i https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
always https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4305
_trigger https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4257
_onAdd https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4287
each https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
_onAdd https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4287
c.widget/</l[b]</< https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247
_onChange https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4291
i https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
always https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:7
_onChange https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4291
c.widget/</l[b]</< https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4247
l https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:4255
dispatch https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8
handle https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8
(Asynchrone : EventListener.handleEvent)
add https://ids.stage.craig.fr/geocat/static/lib.js?v=05eee2ea0b5335c88eae47ac6058eaf187f7ff30:8
looking at network console, there's asuccessful POST with the file on /srv/api/0.1/records/ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments?visibility=private
, which returns a 201 and this js:
{
"url": "https://ids.stage.craig.fr:/geocat/srv/api/records/ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments/VVA_2016_LIGNES_URBAINES.zip",
"size": 16312,
"id": "ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments/VVA_2016_LIGNES_URBAINES.zip",
"type": "private"
}
and then a GET /srv/api/0.1/records/ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments
which returns more or less the same js
[
{
"url": "https://ids.stage.craig.fr:/geocat/srv/api/records/ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments/VVA_2016_LIGNES_URBAINES.zip",
"size": 16312,
"id": "ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments/VVA_2016_LIGNES_URBAINES.zip",
"type": "private"
}
]
but the angular UI isnt updated, no file is listed in the upload dialog - the file exists in the datadir, but nothing 'links' it to the metadata. IIrc this worked in 3.4.1. @fxprunayre ?
manually querying /srv/api/0.1/records/ffd6ae8c-7aba-4d82-90cd-f12c4ec9d18f/attachments
after the angular error shows that nothing is actually attached to the record.
but the angular UI isnt updated, no file is listed in the upload dialog - the file exists in the datadir, but nothing 'links' it to the metadata. IIrc this worked in 3.4.1. @fxprunayre ?
Looks to work fine on https://vanilla.geocat.net/geonetwork.
Could you try with catalog.edit?debug
to get a better idea of the JS error location ?
not on the right network right now, but will test that tmrw morning. Looking at https://github.com/geonetwork/core-geonetwork/commits/3.10.x/web-ui/src/main/resources/catalog/components/filestore/FileStoreService.js commit history i now wonder if 9f1fdb1115e864a5922319c1368d3f392d196f2 from #4429 might be related, as it mentions a JS exception and the code added there seems related to the error message - and which might explain the angular exception on 3.8.x that you might not see on later versions. Will confirm that tmrw.
yeah, definitely that. Adding the 3 lines added in 9f1fdb1 (https://github.com/geonetwork/core-geonetwork/blob/9f1fdb1115e864a5922319c1368d3f392d196f24/web-ui/src/main/resources/catalog/components/filestore/FileStoreService.js#L28) in webapps/geocat/catalog/components/filestore/FileStoreService.js
, rebuilt wro4j cache, file upload on a metadata now works. Dunno if the 3.8.x branch is dead, but i'll backport that to georchestra/geonetwork
in some browser scenario when you upload a file in resource panel the file isn't added to the list of available resources, this seems related to the fact that the response to the ajax request managing the list of available resources is cached by the browser. can we optimise the cache header, or add a random identifier to each request?