# Bugs #2829: Deleted categories still in adressentry in database

**URL:** <http://discourse.egroupware.org/t/bugs-2829-deleted-categories-still-in-adressentry-in-database/45330>\
**Category:** eGW-tracker\
**Created:** [February 1, 2011, 3:08am UTC](http://discourse.egroupware.org/t/bugs-2829-deleted-categories-still-in-adressentry-in-database/45330 "2011-02-01T03:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tracker-3](http://discourse.egroupware.org/letter_avatar_proxy/v4/letter/t/d07c76/32.png) [@tracker-3](http://discourse.egroupware.org/u/tracker-3)\
**Post date:** [February 1, 2011, 3:08am UTC](http://discourse.egroupware.org/t/bugs-2829-deleted-categories-still-in-adressentry-in-database/45330/1 "2011-02-01T03:08:27Z")

</div>

New ticket submitted by Joachim Bachmann at 2011/02/01 04:08  
Tracking System: Bugs  
Category: Addressbook  
Version: Version 1.8.001  
Status: Open  
Completed: 0%  
Priority: 5 - medium  
Created By: Joachim Bachmann  
Created on: 2011/02/01 04:08  
Assigned to: Ralf Becker  
Summary: #2829 - Deleted categories still in adressentry in database  
We deleted a bunch of categories from our adressbook to reasign the adresses them.

The categories are deleted from the table egw\_categories, but they are still listet in egw\_adressbook column cat\_id.

There should have been a lot adresses without any categorie, wich should have been shown in the adressbook with the filter categories:none but they weren’t because the old category id’s where still in cat\_id.

So when deleting a category from eGW every dataset has to be updated and the old cat\_ids have to be deleted.

I haven’t testet yet if this problem also occures with other applications than the adressbook.

linked entries:  
[http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker\_ui.edit&tr\_id=2829&no\_popup=1](http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2829&no_popup=1)
