muccg / rdrf

The Rare Disease Registry Framework (RDRF) is an open source tool for the creation of web-based patient registries.
GNU Affero General Public License v3.0
15 stars 8 forks source link

Syntax error trying fill out cicbreast baseline proms #1337

Closed id2359 closed 4 years ago

id2359 commented 4 years ago

The parse json line in the front end page errors

id2359 commented 4 years ago

could be error in definition, not sure.

id2359 commented 4 years ago

Uncaught SyntaxError: Unexpected token in JSON at position 38361 at JSON.parse () at proms:39 main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined at Object.24 (main-bundle.min.js:1) at i (runtime-bundle.min.js:1) at Object.109 (main-bundle.min.js:1) at i (runtime-bundle.min.js:1) at Module. (main-bundle.min.js:1) at Module.112 (main-bundle.min.js:1) at i (runtime-bundle.min.js:1) at Object.111 (main-bundle.min.js:1) at i (runtime-bundle.min.js:1) at t (runtime-bundle.min.js:1)

id2359 commented 4 years ago
gmaloneccg commented 4 years ago

Dev console errors. The position at which the error occurs appears to change slightly.

Followup, Years 3-10;

proms:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 33786
    at JSON.parse (<anonymous>)
    at proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)

Slightly different error;

VM12:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 33786
    at JSON.parse (<anonymous>)
    at proms:39
(anonymous) @ proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)

Followup, Year 2;

VM12:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 33856
    at JSON.parse (<anonymous>)
    at proms:39
(anonymous) @ proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)

Followup, Year 1;

VM12:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 33835
    at JSON.parse (<anonymous>)
    at proms:39
(anonymous) @ proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)

Followup, 6 months;

VM12:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 33856
    at JSON.parse (<anonymous>)
    at proms:39
(anonymous) @ proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)

Baseline;

VM12:1 Uncaught SyntaxError: Unexpected token 
 in JSON at position 38361
    at JSON.parse (<anonymous>)
    at proms:39
(anonymous) @ proms:39
main-bundle.min.js:1 Uncaught TypeError: Cannot read property 'questions' of undefined
    at Object.24 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.109 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Module.<anonymous> (main-bundle.min.js:1)
    at Module.112 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at Object.111 (main-bundle.min.js:1)
    at i (runtime-bundle.min.js:1)
    at t (runtime-bundle.min.js:1)
jithendralal commented 4 years ago

Baseline PROMS

ICHOMBC Survey: Follow up PROMS - 6 months

ICHOMBC Survey: Follow up PROMS - Year 1

ICHOMBC Survey: Follow up PROMS - Year 2

ICHOMBC Survey: Follow up PROMS - Years 3 - 10

Other issues in all follow up surveys: