Page 1 of 1

can't open case, JSON parse error

Posted: Thu Apr 16, 2020 6:04 am
by GianYagami
I have a case (only 1 case had this problem), when I opened inbox. javascript error. I've chcek js in dynaform and disable it but this is not solved. here's the error:
Code: Select all
VM353:1 Uncaught SyntaxError: Unexpected number in JSON at position 2
    at JSON.parse (<anonymous>)
    at s.parseToArray (PMDynaform.js:18708)
    at s.formatData (PMDynaform.js:18685)
    at s.initialize (PMDynaform.js:18669)
    at s.e.Model (backbone-min.js:1)
    at s [as constructor] (backbone-min.js:1)
    at new s (backbone-min.js:1)
    at s.makeItems (PMDynaform.js:5681)
    at s.initialize (PMDynaform.js:5492)
    at s.e.View (backbone-min.js:1)

Re: can't open case, JSON parse error

Posted: Fri Apr 24, 2020 5:00 pm
by RicardoMG
Hello!

What version of processmaker are you working on?, could you pass me your process so I can check it?

Best regards, Ricardo!

Re: can't open case, JSON parse error

Posted: Mon Apr 27, 2020 6:54 pm
by erpnedir
Hi GianYagami,
Create a duplicate of the dynaform which you see this error by exporting and importing the dynaform. Than replace the new form with the old one on Steps menu.
See if the error continue.

Re: can't open case, JSON parse error

Posted: Tue Apr 28, 2020 3:13 am
by GianYagami
I am using processmaker 3.3.
I've asked the user to create new case.

Re: can't open case, JSON parse error

Posted: Wed Apr 29, 2020 3:54 am
by GianYagami
erpnedir wrote: Mon Apr 27, 2020 6:54 pm Hi GianYagami,
Create a duplicate of the dynaform which you see this error by exporting and importing the dynaform. Than replace the new form with the old one on Steps menu.
See if the error continue.
Sorry I was missing your replied. I already ask users to create new case but thanks for the advise

EDIT: this is absolutely works! thank you so much.