Can not install civimobileapi on civicrm 5.17.0
I cannot install civimobileapi version 4.1.1 and older on civicrm version 5.17.0. I get a error CiviCRM_API3_Exception: "DB Error: already exists". It only seems to happen on civicrm version 5.17.0. Other extensions can be installed properly.
If I look at the ConfigAndLog: [info] $Fatal Error Details = Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => exceptionHandler )
[code] => -5
[message] => DB Error: already exists
[mode] => 16
[debug_info] => INSERT INTO civicrm_custom_field (custom_group_id , name , label , data_type , html_type , default_value , is_required , is_searchable , is_search_range , weight , is_active , is_view , column_name , in_selector ) VALUES ( 12 , 'blocked_app' , 'Blocked application' , 'Boolean' , 'Radio' , '0' , 0 , 1 , 0 , 2 , 1 , 0 , 'blocked_app' , 0 ) [nativecode=1062 ** Duplicate entry 'Blocked application-12' for key 'UI_label_custom_group_id']
[type] => DB_Error
[user_info] => INSERT INTO civicrm_custom_field (custom_group_id , name , label , data_type , html_type , default_value , is_required , is_searchable , is_search_range , weight , is_active , is_view , column_name , in_selector ) VALUES ( 12 , 'blocked_app' , 'Blocked application' , 'Boolean' , 'Radio' , '0' , 0 , 1 , 0 , 2 , 1 , 0 , 'blocked_app' , 0 ) [nativecode=1062 ** Duplicate entry 'Blocked application-12' for key 'UI_label_custom_group_id']
[to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO civicrm_custom_field (custom_group_id , name , label , data_type , html_type , default_value , is_required , is_searchable , is_search_range , weight , is_active , is_view , column_name , in_selector ) VALUES ( 12 , 'blocked_app' , 'Blocked application' , 'Boolean' , 'Radio' , '0' , 0 , 1 , 0 , 2 , 1 , 0 , 'blocked_app' , 0 ) [nativecode=1062 ** Duplicate entry 'Blocked application-12' for key 'UI_label_custom_group_id']"]
)
You can see that the custom field already exists, but when i delete the custom field, and try to install again i get the same error for the same field.
I have installed version 4.1.1 on a other install with a older civicrm version, i could install the extension. After disableing the extension en installed civicrm 5.17.0 the error appeared.
Can you help me with this ?
Edited by j.vos