Hello nick,
I have pretty much the same config, same docman and CB, but I'm using Joomla 1.5.11.
The user was created by CB while subscribing to a CBSubs plan. The CBSubs Docman plugin updates the user list of the Docman Group after payment. So far, OK. I Deleted the user from CB, which has an active subscription. If you check in the Docman group table (from phpMyAdmin), you will see that the user id is still there within the members of that group.
What I'm saying is that when the user is deleted, you should call for the expiration/unsubscribe/delete subscription plugin actions. This is not only happening with the Docman plugin, I also experimented the same thing with the SQL plugin. The expiration/unsubscribe/delete query is not executed when the user is directly deleted from CB user manager.
BTW Nick, I bet that the user that you deleted is still in the docman group list. Of course, you wont see him from the backend (because the user no longer exists) but you probably will in #__docman_groups.
The Docman issue is a bad example, because, it is not a catastrophic problem. Like I said, and in this example, who cares if the id of an non-existing user is still in that group list ?, it is unlikely that this will represent a problem in the future.
However, this kind of little things that are left unresolved could POTENTIALLY represent a problem and can be easily prevented by just making the right call when deleting the user with the CB user manager. If a CBSubs plugin made a change somewhere and it is supposed to undo or make another change at a latter time (expiration/unsubscribing), it should also do it when the user is deleted because indirectly, the subscription is being deleted as well.
Post edited by: amazeika, at: 2009/07/13 19:50