There are several thing going wrong with the address upload

a) It seems there is something wrong with the logo upload - see dblog message

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'logo' in 'field list': UPDATE {ek_address_book} SET logo=:db_update_placeholder_0 WHERE id = :db_condition_placeholder_0; Array ( [:db_update_placeholder_0] => [:db_condition_placeholder_0] => 1 ) in Drupal\ek_address_book\Form\NewAddressBookForm->submitForm() (line 696

b) it is not possible to set a cotact as primary (end up with WOSD)

c) maybe effect as well the import problem https://www.drupal.org/project/2887559/issues/2926349

d) I still miss the possibility to add the same contact to various companies without having to upload each time the contact
an entity reference field with the option to choose existing contact and/or to create new contact would be an easy solution

e) Trying to get anyhow addresses uploaded, I get double entries and no chance to delete them again (why there is nowhere any delete link or button!)

Comments

ChoY created an issue. See original summary.

choy’s picture

Title: Soemthing wrong with the address upload » Something wrong with the address upload
Issue summary: View changes
choy’s picture

Title: Something wrong with the address upload » Something very wrong with the address upload
Issue summary: View changes
choy’s picture

some other things I miss at the address book once it will work again:
1) the option to enter various names, emails and addresses on the same company or contact
2) the option to give the same contact various kinkages to multioe perosns and companies
the module CMR Core can be here a very good module - where you have different budles of contacts individuals/organisations to relate to each other in multiple options. Which make it no more necessary to enter for each company each time newly the same contact.

choy’s picture

Issue summary: View changes
adominique’s picture

a) please run update_8001 as per commit [141ffea] (/update.php)
b) same as above;
c) no. this field is not included in upload;
d) please create a feature request;
e) name cards can be deleted. Currently main entries can only be set as active/non active status. Please create a feature request.

Please ensure you have the latest version and update. Currently this development version is corrected and changed very frequently. this is the object of dev. version.

Check also this short tutorial about cloning entry in address book.

choy’s picture

Issue summary: View changes
choy’s picture

my explanation t the above described errors: I had a installed a new d8/ek installation. Eventually something went wrong during the installation with above under a and b decribed problems.

What I made now: I followed you advice on https://www.drupal.org/project/2887559/issues/2926341 and copied my former (well running ek database) to the new installation and ran a cron updatedb. Now everythi g lokks dfine again (but still neeeds some testing).

on point d) I create an new feature request: https://www.drupal.org/project/2887559/issues/2926734

on point e) I create a new issue as well: https://www.drupal.org/project/2887559/issues/2926738

choy’s picture

The import problem is solved - it was linked to the above described problems a + b due to the wrong installation.

choy’s picture

Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)