You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Angular]
To reproduce the issue, run this demo and remove question1. This question is used as a choice source for the second question. The following exception appears:
index.js:27 ERROR TypeError: Cannot read properties of null (reading 'text')
at QuestionCarryForwardComponent_ng_template_0_Template (ɵcmp.js:5:26)
at executeTemplate (core.mjs:12125:9)
at refreshView (core.mjs:11988:13)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at refreshEmbeddedViews (core.mjs:13038:17)
at refreshView (core.mjs:12012:9)
at detectChangesInternal (core.mjs:13269:9)
at ViewRef$1.detectChanges (core.mjs:13766:9)
at ElementComponent.detectChanges (survey-angular-ui.js:956:33)
at eval (survey-angular-ui.js:943:16)
at _ZoneDelegate.invokeTask (zone.js:406:31)
at Object.onInvokeTask (core.mjs:26367:33)
at _ZoneDelegate.invokeTask (zone.js:405:60)
at Zone.runTask (zone.js:178:47)
at drainMicroTaskQueue (zone.js:585:35)
at ZoneTask.invokeTask [as invoke] (zone.js:491:21)
at invokeTask (zone.js:1661:18)
at globalCallback (zone.js:1692:29)
at HTMLDivElement.globalZoneAwareCallback (zone.js:1725:16)
[React]
In a React app, the following exception occurs:
Uncaught TypeError: Cannot read properties of undefined (reading 'name')
at t.render (survey-creator-react.min.js:7:20007)
The text was updated successfully, but these errors were encountered:
JaneSjs
changed the title
Survey Creator for Angular - The Cannot read properties of null (reading 'text') exception is raised when removing a parent question used within the Copy choices from property
The Cannot read properties of null (reading 'text') exception is raised when removing a parent question used within the Copy choices from property
Aug 8, 2023
RomanTsukanov
changed the title
The Cannot read properties of null (reading 'text') exception is raised when removing a parent question used within the Copy choices from property
An exception is raised when you delete a question used within the "Copy choices from" property
Aug 9, 2023
Update:
The issue is fixed in the librray. Here is the related issue.
User Issue: T14170 - Issue with copy choices
https://surveyjs.answerdesk.io/internal/ticket/details/T14170
[Angular]
To reproduce the issue, run this demo and remove question1. This question is used as a choice source for the second question. The following exception appears:
[React]
In a React app, the following exception occurs:
The text was updated successfully, but these errors were encountered: