Traceback (most recent call last):
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py", line 62, in application
response = frappe.handler.handle()
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py", line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/__init__.py", line 939, in call
return fn(*args, **newargs)
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/client.py", line 65, in get_value
check_parent_permission(parent)
File "/home/ubuntu/frappe-bench/apps/frappe/frappe/client.py", line 322, in check_parent_permission
raise frappe.PermissionError
PermissionError
I also have the same permission issue. I am working on my localhost as administrator with all available permissions granted. I am trying to fetch data from a child table, I did many tries in various tables but I am ending with that error. Seems like a bug because some debuging I made in client.py seems the parent parameter is empty
Are you trying to retrieve a child table value from an unsaved doc? I don’t think this can be done as the child table call has to reference it’s parent, and if the document isn’t saved then it doesn’t exist.
Yes this is because of the changes to frappe.client as linked above. get_value requires you to specify what the parent is now, and without saving the document there is no parent.