ldapcherry icon indicating copy to clipboard operation
ldapcherry copied to clipboard

uncaught exception: ['value']

Open dakolta opened this issue 4 years ago • 1 comments

had to set auth to none to be able to edit a user to add as admin, when I try to modify a user I get the following: uncaught exception: ['value'] Python Exception: Traceback (most recent call last):

File "/usr/local/lib/python3.8/dist-packages/ldapcherry-1.1.1-py3.8.egg/ldapcherry/exceptions.py", line 229, in ret return func(self, *args, **kwargs)

File "/usr/local/lib/python3.8/dist-packages/ldapcherry-1.1.1-py3.8.egg/ldapcherry/init.py", line 1140, in modify form = self.temp['form.tmpl'].render(

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/template.py", line 476, in render return runtime.render(self, self.callable, args, data)

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 878, in _render _render_context(

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 920, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 947, in exec_template callable(context, *args, **kwargs)

File "form_tmpl", line 47, in render_body

File "form_tmpl", line 23, in form_col

File "form_tmpl", line 225, in render_form_col

KeyError: 'value'

dakolta avatar Jan 14 '21 16:01 dakolta

Found out the problem is if I set the type to fix I get this error. How else can I set attributes to read only?

dakolta avatar Jan 16 '21 19:01 dakolta