frappe / crm

The future of open source CRM
https://frappe.io/crm
GNU Affero General Public License v3.0
195 stars 100 forks source link

Bug: Error in client side when trying to create new CRM Territory via url "app/crm-territory/view/tree" #188

Open aghanem opened 1 month ago

aghanem commented 1 month ago

Reproduction steps:

  1. Visit "CRM Territory Tree " via app/crm-territory/view/tree
  2. Click New
  3. Nothing happens.
  4. Check browser console for error

TypeError: Cannot read properties of undefined (reading 'value') at Object.callback (treeview.js:176:36) at Object.e [as success_callback] (request.js:85:16) at 200 (request.js:133:34) at Object. (request.js:305:6) at I (jquery.js:3213:31) at Object.fireWith [as resolveWith] (jquery.js:3343:7) at en (jquery.js:9617:14) at XMLHttpRequest. (jquery.js:9878:9) at XMLHttpRequest.r (helpers.ts:98:1) (anonymous) @ instrument.ts:145 Show 1 more frame Show less 3helpers.ts:100 Uncaught

image

shariquerik commented 1 month ago

@aghanem It is fixed in the latest frappe framework version https://github.com/frappe/frappe/pull/26328

aghanem commented 1 month ago

@shariquerik Issue is not fixed till now on the cloud version.

image