[#1487] cm: Traceback bei Anonymisierung über Aktionsicon

Date:
2010-05-05 14:41
Priority:
4
State:
Closed
Submitted by:
Katharina Schütze (katharina)
Assigned to:
Katharina Schütze (katharina)
Web-Browser:
none
Hardware:
none
Product:
none
Operating System:
none
Component:
none
Version:
none
Severity:
none
Resolution:
Fixed
URL:
Summary:
cm: Traceback bei Anonymisierung über Aktionsicon

Detailed description
Wenn ich über die Fallaktenübersicht und den Aktionsicon eine Fallakte anonymisieren möchte kommt nach dem Bestätigen des Dialoges ob wirkl. anonymisiert werden soll, folgender Traceback:

WebError Traceback:
⇝ AttributeError: 'DBRepeatInstanceContainerNode' object has no attribute 'getValue'
View as: Interactive (full) | Text (full) | XML (full)
clear this
clear this
Module ?:2 in markForAnonymize 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.case:144 in markForAnonymize view
<< def markForAnonymize(self, id, confirmed):
url = "/case/digest/%s" % id
return self._markForAnonymize(id, confirmed, url)

def _markForAnonymize(self, id, confirmed, url):
>> return self._markForAnonymize(id, confirmed, url)
Module mpulsweb.controllers.case:163 in _markForAnonymize view
<< # Anonymize case. Ensure that the case is in a consistent state
# after anonymization.
case.make_anonymizable()
c.dialog_title = MARKANONYMIZE_SUCCESS
c.dialog_text = MARKANONYMIZE_SUCCESS_TEXT
>> case.make_anonymizable()
Module mpulsweb.model.case:787 in make_anonymizable view
<< # Ensurse consistence of the case
self.make_consistent()

def getState(self):
>> self.make_consistent()
Module mpulsweb.model.case:770 in make_consistent view
<< # Set values
self.formed_instance.setData(data)
self.formed_instance.commit()

def make_anonymizable(self):
>> self.formed_instance.commit()
Module formed.instance.backends.postgres:299 in commit view
AttributeError: 'DBRepeatInstanceContainerNode' object has no attribute 'getValue'
Message  ↓
Date: 2010-05-05 16:52
Sender: Katharina Schütze

getestet auf r2678

Anonymisierung über actionsicon nun möglich

Date: 2010-05-05 16:00
Sender: Torsten Irländer

Revision r2672

Sollte nun funktionieren.

No related tasks

No attached documents

Field Old Value Date By
status_idOpen2010-05-05 16:52Katharina Schütze
close_date2010-05-05 16:522010-05-05 16:52Katharina Schütze
assigned_totorsten2010-05-05 16:00Torsten Irländer
ResolutionNone2010-05-05 16:00Torsten Irländer