skolakan / npsp

Automatically exported from code.google.com/p/npsp
0 stars 0 forks source link

Deleted contacts cannot be undeleted #342

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Turn on the one-to-one account processor
2. Create a contact with no organisation
3. Delete the contact
4. Go to trash, the organisation with the contact name is there, undelete the 
organisation
5. Go to the organisation - it has no contacts, there is no sign of the 
originally created contact

What is the expected output? What do you see instead?
I expected the contact to appear in the trash so that I could undelete it, or 
when I undeleted the organisation, to see the contact.
Undeleting the household had no effect.

What version of the packages are you using? npe01.2.1

Please provide any additional information below.
Works fine if the account processor is "Individual"

Original issue reported on code.google.com by eandeke...@googlemail.com on 12 Jul 2012 at 8:02

GoogleCodeExporter commented 8 years ago
Hmm... i'm unable to duplicate this in my instance, I'm able to successfully 
undelete a 1x1 Contact, and the Contact and Org are both restored.  Do you have 
any other code or items running in your org? 

Original comment by kbro...@gmail.com on 12 Jul 2012 at 3:39

GoogleCodeExporter commented 8 years ago
Just retested this in a brand new org - all it has is the non-profit starter 
pack.
When I deleted the contact and looked in the recycle bin all that was there was 
the household and the org, so I undeleted both. No sign of the contact either 
in the trash or the list of all contacts. 
However the organisation has been undeleted, but it has no contacts.

Original comment by eandeke...@googlemail.com on 16 Jul 2012 at 6:46

GoogleCodeExporter commented 8 years ago
Just turned off households, to see if that was causing the problem, but the 
contact is still permanently deleted

Original comment by eandeke...@googlemail.com on 17 Jul 2012 at 6:57

GoogleCodeExporter commented 8 years ago
Hmm... I'll look into this a bit more closely. Might be a cascade deletion 
problem, if that's the case, I'm not sure if it will be fixable. 

Original comment by kbro...@gmail.com on 18 Jul 2012 at 2:18

GoogleCodeExporter commented 8 years ago
I have the same problem: with npe01.2.1.4 Contacts & Organisations installed 
when a contact is deleted it does not appear in the recycle bin, but the 
account and the household do appear. Undeleting the account and or the 
household does not undelete the contact, which seems to be permanently deleted.

Original comment by ianburle...@nickandian.me.uk on 10 Apr 2013 at 9:00

GoogleCodeExporter commented 8 years ago
I faced the same problem as well. When you delete an individual in a one to one 
model, it does not send the Contact to recycle only the Org. And if you restore 
Org you see it (it also opens up the Accounts page as if it were a real org) 
but the contact is not restored.

Thx Kevin!

Original comment by sandeepb...@gmail.com on 28 May 2014 at 12:27