Don't map an ID that doesn't exists (anymore).

Bug #555908 reported by Vincenzo Di Somma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
High
Vincenzo Di Somma

Bug Description

If a key is still in private application annotation but it has been removed from it's root_list the mergeable list traces back like this:

Traceback:
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/django/core/handlers/base.py"
in get_response
   86. response = callback(request, *callback_args,
**callback_kwargs)
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/ubuntuone/funambol/exchange/__init__.py"
in __call__
   68. return view_func(request, *args, **kwargs)
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/ubuntuone/funambol/exchange/contact/views.py"
in updateItem
   288. transformer.from_app(item, record)
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/desktopcouch/records/field_registry.py"
in from_app
   40. self.field_registry[key].setValue(record, val)
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/desktopcouch/records/field_registry.py"
in setValue
   128. self.deleteValue(record)
File
"/srv/ubuntuone.com/production/exchange-rev-2538/utilities/../lib/desktopcouch/records/field_registry.py"
in deleteValue
   122. if self._field_name in root_list._data[uuid_key]:

Vincenzo Di Somma (vds)
Changed in desktopcouch:
assignee: nobody → Vincenzo Di Somma (vds)
status: New → In Progress
Vincenzo Di Somma (vds)
Changed in desktopcouch:
status: In Progress → Fix Committed
milestone: none → lucid-final
Chad Miller (cmiller)
Changed in desktopcouch:
importance: Undecided → High
Chad Miller (cmiller)
Changed in desktopcouch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.