[Mpuls-devel] [mpuls-Bugs][1355] Fehler bei Angabe zur Einverständniserklärung beim neuanlegen einer Fallakte
mpuls-bugs@wald.intevation.org
mpuls-bugs at wald.intevation.org
Tue Apr 6 16:36:40 CEST 2010
Bugs item #1355, was opened at 2010-04-06 16:36
Status: Open
Priority: 3
Submitted By: Bernhard Herzog (bh)
Assigned to: Nobody (None)
Summary: Fehler bei Angabe zur Einverständniserklärung beim neuanlegen einer Fallakte
Web-Browser: None
Resolution: None
Severity: None
Version: None
Component: None
Operating System: None
Product: None
Hardware: None
URL:
Initial Comment:
In JMD, SVN r2278:
Reproduzieren:
Seite "Neue Fallakte anlegen" aufrufen, Name und Vorname eintragen und dann den "Fallakte anlegen" Button drücken. Man kommt zu /case/newAction, was einen Hinweisdialog darstellt ("Fehlende Angabe zur Einverständniserklärung") weil die Angabe zur Einverständniserklärung noch nicht eingetragen wurde. Geht man hier auf "Eine Erklärung liegt vor" kommt es zu folgendem Traceback:
File "/powerhome/bh/project/mpuls/work/refactor/wasko-refactor/mpulsweb/lib/security.py", line 267, in validate
return func(self, *args, **kwargs)
File "/powerhome/bh/project/mpuls/work/refactor/wasko-refactor/mpulsweb/controllers/privacy.py", line 85, in accept
return render('privacy/dialogs/confirm.mako')
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py", line 274, in render_mako
cache_type=cache_type, cache_expire=cache_expire)
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py", line 249, in cached_template
return render_func()
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py", line 271, in render_template
return literal(template.render_unicode(**globs))
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/template.py", line 138, in render_unicode
return runtime._render(self, self.callable_, args, data, as_unicode=True)
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 364, in _render
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 381, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 405, in _exec_template
result = template.error_handler(context, error)
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 397, in _exec_template
callable_(context, *args, **kwargs)
File "/powerhome/bh/project/mpuls/work/refactor/wasko-refactor/data/templates/base.mako.py", line 61, in render_body
__M_writer(escape(next.body()))
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 255, in <lambda>
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
File "/powerhome/bh/project/mpuls/work/refactor/wasko-refactor/data/templates/main.mako.py", line 82, in render_body
__M_writer(escape(self.buildPrivacyfield()))
File "/vol1/home/bh/install/ix86-debian-5.0/python-2.5-mpuls/lib/python2.5/site-packages/Mako-0.2.5-py2.5.egg/mako/runtime.py", line 255, in <lambda>
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
File "/powerhome/bh/project/mpuls/work/refactor/wasko-refactor/data/templates/casemanagement/main.mako.py", line 214, in render_buildPrivacyfield
if session.get('case').getState().getState() not in (4,5):
Hier evaluiert session.get('case').getState() zu None.
----------------------------------------------------------------------
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=265&aid=1355&group_id=40
More information about the Mpuls-devel
mailing list