Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Save button hangs and changes are not saved.

  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214317 by batpurev
hi gurus, 

Save button hangs and changes are not saved. It is happening quite often. Looking at the browser console it shows me following error messages.

1. Uncaught TypeError: Cannot read property 'destroy' of null
    at HTMLDocument.<anonymous> (VM306 questionedit.js:36)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)
    at pjax. combined. min. js:1
   ...
2. DevTools failed to load SourceMap: Could not load content for https://www/tmp/assets/81494240/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
3. PJAX -> No JSON found. If you expected it there was an error. pjax. combined .min .js:1


do you know what might cause these sorts of errors and hanging of save action?

thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 weeks ago #214320 by DenisChenu
Replied by DenisChenu on topic Save button hangs and changes are not saved.
LimeSurvey version and build number ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214324 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
Version 4.3.34
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214325 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
following is the culprit message 

VM166 adminbasics.min.js:1 TypeError: Cannot read property 'id' of null
    at t.<anonymous> (VM227 questiongroupedit.js:1046)
    at invokeWithErrorHandling (VM166 adminbasics.min.js:1)
    at t.e.$emit (VM166 adminbasics.min.js:1)
    at t.value (VM166 adminbasics.min.js:1)
    at HTMLAnchorElement.run (VM166 adminbasics.min.js:1)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214326 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
hi again this looks like browser specific.

on Mozilla 87.0 (64-bit) it is responding.
but on Chrome Version 89.0.4389.114 (Official Build) (64-bit)
is still hang
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago - 3 years 2 weeks ago #214327 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
admin panel opened with Mozilla hangs too so to say it is NOT browser specific. Errors on Mozilla.

1. Uncaught TypeError: e.instance is null
    mounted questiongroupedit.js:5696
    jQuery 2
    d pjax.combined.min.js:1
    a pjax.combined.min.js:1
    d pjax.combined.min.js:1
    d pjax.combined.min.js:1
    value pjax.combined.min.js:1
    v pjax.combined.min.js:1
    attachLink pjax.combined.min.js:1

2. TypeError: t is null
    mounted questiongroupedit.js:111691
    VueJS 2
    value eventbus.js:15
    run save.js:74
    jQuery 2

3. This is everywhere
Cookie “_gid” will be soon treated as cross-site cookie against URL because the scheme does not match.

Last edit: 3 years 2 weeks ago by batpurev.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 weeks ago #214343 by DenisChenu
Replied by DenisChenu on topic Save button hangs and changes are not saved.
Can you update to 4.4 ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214348 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
surveys containing some sort of JS in the question field seems to hang on save action while other surveys without JS are saving as if nothing happened.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 weeks ago #214353 by DenisChenu
Replied by DenisChenu on topic Save button hangs and changes are not saved.
You mean : if there are javascript inside question text : it broke, else it's OK ?

I think there are an issue with HTML not filtered in 4.X some time ago.

 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214404 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
actually it is NOT related to JS. Survey without JS are not saving too. It is hanging without any reason. New survey created adding simple questions then it refuses to save.
The topic has been locked.
  • batpurev
  • batpurev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 2 weeks ago #214406 by batpurev
Replied by batpurev on topic Save button hangs and changes are not saved.
whenever it is hang following message always there in browser console.

VM1023 adminbasics.min.js:1 TypeError: Cannot read property 'id' of null
    at t.<anonymous> (VM1032 questiongroupedit.js:1046)
    at invokeWithErrorHandling (VM1023 adminbasics.min.js:1)
    at t.e.$emit (VM1023 adminbasics.min.js:1)
    at t.value (VM1023 adminbasics.min.js:1)
    at HTMLAnchorElement.run (VM1023 adminbasics.min.js:1)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 weeks ago #214408 by DenisChenu
Replied by DenisChenu on topic Save button hangs and changes are not saved.

Can you update to 4.4 ?
 

And can you activate debug mode and check the error shown on HTTP XHR request ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose