[Mpuls-devel] [mpuls-Bugs][1483] cm: Erklärung zurückziehen Error

mpuls-bugs@wald.intevation.org mpuls-bugs at wald.intevation.org
Wed May 5 14:43:58 CEST 2010


Bugs item #1483, was opened at 2010-05-05 14:43
Status: Open
Priority: 4
Submitted By: Alexander Schaefer (aschaefer)
Assigned to: Torsten Irländer (torsten)
Summary: cm: Erklärung zurückziehen Error 
Web-Browser: None
Resolution: None
Severity: None
Version: v2.0beta1
Component: Fallaktenübersicht/Suche
Operating System: None
Product: JMD
Hardware: None
URL: 


Initial Comment:
Neue Fallakte angelegt und keine Daten eingegeben. Beim Zurückziehen der Eklärung kommt ein Fehler auf:

(rev: 2651)

 ttributeError: 'NoneType' object has no attribute 'phase'
View as:   Interactive (full)  |  Text (full)  |  XML (full)
clear this
clear this
Module ?:2 in decline         view
Module mpulsweb.lib.security:316 in validate         view
<<              raise HTTPUnauthorized(detail=UNAUTHORIZED_DETAIL)
               try:
                   return func(self, *args, **kwargs)
               except dbapi.OperationalError, err:
                   raise HTTPUnauthorized(detail=UNAUTHORIZED_DETAIL)
>>  return func(self, *args, **kwargs)
Module mpulsweb.controllers.privacy:111 in decline         view
<<          endphase = str(determineAnonymizedCaseEndPhase(case))
               try:
                   case.check_anonymizeability(fields=min_fields, phase=endphase)
               except ConsistenceCheckException, e:
                   c.dialog_title = PRIVACY_DECLINE_DISALLOWED
>>  case.check_anonymizeability(fields=min_fields, phase=endphase)
Module mpulsweb.model.case:710 in check_anonymizeability         view
<<          # Check if anonymization is allowed in the current phase
               desc = g.mpuls_config.get('phases',
                                         'description')[0].get(phasepart.phase)
               if not phasepart.is_anonymizable():
                   raise ConsistenceCheckException(h.literal(MARKANONYMIZE_FAILED_MIN_PHASE
>>  'description')[0].get(phasepart.phase)
AttributeError: 'NoneType' object has no attribute 'phase'



----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=265&aid=1483&group_id=40


More information about the Mpuls-devel mailing list