DocTypes with names contain "case" will not work

Has anyone encountered this issue?

as I was debugging it the code stops at this field

locate("", tabClinic Case as `_relevance

function: def sanitize_fields(self)
file: /apps/frappe/frappe/model/

I think the reason for this is,

this list variable blacklisted_keywords = [‘select’, ‘create’, ‘insert’, ‘delete’, ‘drop’, ‘update’, ‘case’]

has an element ‘case’

which my DocType name has a word ‘case’ on it.

1 Like

Created an issue:

1 Like