Thanks for the detailed info. Will do some further testing especially regarding the expire functionality.<div>Have a nice Week-End</div><div>Matthias</div><div><br><br><div class="gmail_quote">2011/8/12  <span dir="ltr">&lt;<a href="mailto:jp@nexedi.com">jp@nexedi.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
&gt; Some categories have already been preconfigured but we have decided that we will not use them and we want to replace them by new categories.<br>
<br>
</div>Good.<br>
<div class="im"><br>
&gt; I have realised that using ERP5 it is not possible to delete existing categories. I also tried to &#39;expire&#39; a category but it still occurs in the dropdown boxes.<br>
<br>
</div>It is possible to delete categories. But if they are used it will be prevented.<br>
<br>
Exprire should remove them from drop down menu after some time (caching). If this is not the case, it is a bug.<br>
<div class="im"><br>
&gt; The only way I found to delete categories is via the ZMI.<br>
<br>
</div>Sometimes it is the only way. It is acceptable as a developer.<br>
<div class="im"><br>
&gt; I did an import of my data to another instance.<br>
The import worked quite well but I will now see the newly imported categories AND the old values which is not what I want.<br>
<br>
</div>This i normal.<br>
<div class="im"><br>
&gt; I am fully aware of the problems which might be related to deleted customising, but I have made some tests and found that even if a category value does not exist anymore ERP5 handles it quite well and does not dump.<br>

<br>
</div>The solution is normally to use expire. Then update all existing data so that none of it used &quot;legacy&quot; categories. Then expire them. Then after some time, deleted expired categories.<br>
<br>
Make sure also you do not break categories related to security configuration.<br>
<br>
Regards,<br>
<br>
JPS.<br>_______________________________________________<br>
Erp5-users mailing list<br>
<a href="mailto:Erp5-users@erp5.org">Erp5-users@erp5.org</a><br>
<a href="https://mail.tiolive.com/mailman/listinfo/erp5-users" target="_blank">https://mail.tiolive.com/mailman/listinfo/erp5-users</a><br>
<br></blockquote></div><br></div>