Answers.Body: <p>This was due to an import bug. During the import some contacts were set as deceased (value 1). The remaining contacts were then set to null by the import tool. But all the elements like Do Not Email if Deceased require a value of 0 for the deceased field. So they wouldn't show on the mailing labels as the system thought they were deceased. A simple export of all individuals (contact ID and deceased value), remove those who are deceased and re-import with a value of 0 on the deceased field solved the issue. –</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-28T22:12:31.817Z
Answers.LastActivityDate: 2016-02-28T22:12:31.817Z
Answers.UserDisplayName: Oliver Gibson
Body: <p>Have a strange situation where 2000 contacts have been imported with address details. The addresses look fine but when you create a mailing label neither the contacts nor the addresses chosen appear. But when you go and edit/save the contact that contact does then appear on the mailing label, V strange.</p>
  
  <p>I've tried clearing caches and I also though the scheduled job 'Update Greetings and Addresses' may be connected but this made no difference. Something happens when you save the contact but I can't see what it is. </p>
  
  <p>Olly</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-25T19:05:07.857Z
Comments.Text: Olly - you can post this as an answer and accept it :)
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-29T15:34:54.940Z
Comments.Text: Please check are all the address have is_primary set??? and what is your civicrm Version ???
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-29T15:36:20.600Z
Comments.Text: And do the contacts have the is_deleted set to 0? Just guesswork here...
Comments.UserDisplayName: ErikH - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-02T08:27:28.997Z
Comments.Text: SOLVED: this was due to an import bug. During the import some contacts were set as deceased (value 1). The remaining contacts were then set to null by the import tool. But all the elements like Do Not Email if Deceased require a value of 0 for the deceased field. So they wouldn't show on the mailing labels as the system thought they were deceased. 
  
  A simple export of all individuals (contact ID and deceased value), remove those who are deceased and re-import with a value of 0 on the deceased field solved the issue.
Comments.UserDisplayName: Oliver Gibson
Tags: <address-labels>
Title: Contacts not appearing on mailing labels
ThreadText: # Contacts not appearing on mailing labels
  
  (Asked by: username_0 on 2015-10-29)
  
  Have a strange situation where 2000 contacts have been imported with address details. The addresses look fine but when you create a mailing label neither the contacts nor the addresses chosen appear. But when you go and edit/save the contact that contact does then appear on the mailing label, V strange.
  
  I've tried clearing caches and I also though the scheduled job 'Update Greetings and Addresses' may be connected but this made no difference. Something happens when you save the contact but I can't see what it is.
  
  Olly
  
  **Tags:** address-labels
  
  > **Comments:**
  > **username_2**: Please check are all the address have is_primary set??? and what is your civicrm Version ???  
  > **username_3**: And do the contacts have the is_deleted set to 0? Just guesswork here...  
  > **username_0**: SOLVED: this was due to an import bug. During the import some contacts were set as deceased (value 1). The remaining contacts were then set to null by the import tool. But all the elements like Do Not Email if Deceased require a value of 0 for the deceased field. So they wouldn't show on the mailing labels as the system thought they were deceased.   A simple export of all individuals (contact ID and deceased value), remove those who are deceased and re-import with a value of 0 on the deceased field solved the issue.  
  > **username_1**: Olly - you can post this as an answer and accept it :)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-02-28. Score: 1
  
  This was due to an import bug. During the import some contacts were set as deceased (value 1). The remaining contacts were then set to null by the import tool. But all the elements like Do Not Email if Deceased require a value of 0 for the deceased field. So they wouldn't show on the mailing labels as the system thought they were deceased. A simple export of all individuals (contact ID and deceased value), remove those who are deceased and re-import with a value of 0 on the deceased field solved the issue. –
  
  
  ---
  
  