Forum Discussion
Ahanney
Jun 30, 2023Copper Contributor
Sharepoint Online error when editing a listitem e.split is not a function
Hello, am having a issue with a list that is used on a daily basis by a team of people. We discovered the other day we can no longer make edits (I am the admin of the site and others with edit rights...
- Nov 06, 2024
Hello Ahanney, I'm sure you have solved this a long time ago, but for others who may come by this thread... I encountered this very issue today and, in my case, it was a brand-new list created from an Excel document. I had several columns that I set the type to be Choice. The import did a good job at keeping the values but did not populate the choices. Once I set all the choice options for all the choice columns this problem went away. So, check your choice column settings or possibly any special columns you may have as they are likely the source of the problem. Good Luck!
Jul 02, 2023
What error are you getting in Browser Console ? How many items does the list have ?
Ahanney
Jul 03, 2023Copper Contributor
many, but this seems the most relevant... the are 120 lines in the list so nothing major.
TypeError: e.split is not a function
at t._getArrayFromSPString (1003.js:1:41937)
at t._getSelectedKeys (1003.js:1:606390)
at t._getStateFromProps (1003.js:1:602700)
at t [as constructor] (1003.js:1:30932)
at new t (1003.js:1:589105)
at gr (odsp.react.lib-19e38d22.js:2:50181)
at Go (odsp.react.lib-19e38d22.js:2:69528)
at Ks (odsp.react.lib-19e38d22.js:2:112828)
at wc (odsp.react.lib-19e38d22.js:2:99054)
at Cc (odsp.react.lib-19e38d22.js:2:98982)
plt.items-view.js:1 Uncaught TypeError: e.split is not a function
at t._getArrayFromSPString (1003.js:1:41937)
at t._getSelectedKeys (1003.js:1:606390)
at t._getStateFromProps (1003.js:1:602700)
at t [as constructor] (1003.js:1:30932)
at new t (1003.js:1:589105)
at gr (odsp.react.lib-19e38d22.js:2:50181)
at Go (odsp.react.lib-19e38d22.js:2:69528)
at Ks (odsp.react.lib-19e38d22.js:2:112828)
at wc (odsp.react.lib-19e38d22.js:2:99054)
at Cc (odsp.react.lib-19e38d22.js:2:98982)
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"
plt.odsp-common.js:1 Refused to get unsafe header "SPRequestGuid"
plt.odsp-common.js:1 Refused to get unsafe header "X-ServiceWorkerFetchInfo"
plt.odsp-common.js:1 Refused to get unsafe header "SPSQLQueryCount"
plt.odsp-common.js:1 Refused to get unsafe header "SPClientServiceRequestDuration"
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"
plt.odsp-common.js:1 Refused to get unsafe header "SPRequestGuid"
plt.odsp-common.js:1 Refused to get unsafe header "X-ServiceWorkerFetchInfo"
plt.odsp-common.js:1 Refused to get unsafe header "SPSQLQueryCount"
plt.odsp-common.js:1 Refused to get unsafe header "SPClientServiceRequestDuration"
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"
TypeError: e.split is not a function
at t._getArrayFromSPString (1003.js:1:41937)
at t._getSelectedKeys (1003.js:1:606390)
at t._getStateFromProps (1003.js:1:602700)
at t [as constructor] (1003.js:1:30932)
at new t (1003.js:1:589105)
at gr (odsp.react.lib-19e38d22.js:2:50181)
at Go (odsp.react.lib-19e38d22.js:2:69528)
at Ks (odsp.react.lib-19e38d22.js:2:112828)
at wc (odsp.react.lib-19e38d22.js:2:99054)
at Cc (odsp.react.lib-19e38d22.js:2:98982)
plt.items-view.js:1 Uncaught TypeError: e.split is not a function
at t._getArrayFromSPString (1003.js:1:41937)
at t._getSelectedKeys (1003.js:1:606390)
at t._getStateFromProps (1003.js:1:602700)
at t [as constructor] (1003.js:1:30932)
at new t (1003.js:1:589105)
at gr (odsp.react.lib-19e38d22.js:2:50181)
at Go (odsp.react.lib-19e38d22.js:2:69528)
at Ks (odsp.react.lib-19e38d22.js:2:112828)
at wc (odsp.react.lib-19e38d22.js:2:99054)
at Cc (odsp.react.lib-19e38d22.js:2:98982)
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"
plt.odsp-common.js:1 Refused to get unsafe header "SPRequestGuid"
plt.odsp-common.js:1 Refused to get unsafe header "X-ServiceWorkerFetchInfo"
plt.odsp-common.js:1 Refused to get unsafe header "SPSQLQueryCount"
plt.odsp-common.js:1 Refused to get unsafe header "SPClientServiceRequestDuration"
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"
plt.odsp-common.js:1 Refused to get unsafe header "SPRequestGuid"
plt.odsp-common.js:1 Refused to get unsafe header "X-ServiceWorkerFetchInfo"
plt.odsp-common.js:1 Refused to get unsafe header "SPSQLQueryCount"
plt.odsp-common.js:1 Refused to get unsafe header "SPClientServiceRequestDuration"
plt.odsp-common.js:1 Refused to get unsafe header "X-SERVICEWORKER-DATA-SOURCE"