CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Custom field added with an extra empty field during matching
Pages: [1]

Author Topic: Custom field added with an extra empty field during matching  (Read 2464 times)

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Custom field added with an extra empty field during matching
October 20, 2009, 02:57:38 pm
After having created a couple of custom fields, I have succesfully matched and imported a CSV file. The second time, though, an extra empty dropdown box appeared next to my custom field. When I tried to go on with the importing process, I got errors on all rows: "Invalid field: field_ID". I think this has something to do with that extra field.

I truncated the civicrm_cache table, but am now faced with not seeing the custom fields in the dropdown boxes. And still the extra box exists.

Should I add this as an issue?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom field added with an extra empty field during matching
October 20, 2009, 07:32:49 pm

can we get access to your site. check:

http://wiki.civicrm.org/confluence/display/CRMDOC/SSH+Access+Requirements

if so please ping us on IRC

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 21, 2009, 06:12:29 am
I am trying to get support for SSH from my provider. In the mean time, I could provide you with FTP access and web access; could this help?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom field added with an extra empty field during matching
October 21, 2009, 07:57:14 am

sorry, no

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 21, 2009, 01:11:53 pm
Alas, I cannot get SSH.

However, I have noticed the following:

As mentioned before, two of the custom fields are not available in the dropdown box. But in the mapping field table I saw that the one with the extra empty box had the value 1 in the column location_type_id. When I deleted that value (set it to null) the extra box did not come up during the import and I was able to import.

The only thing that is still not right is that the custom fields do not show. I will try to figure that out.

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 21, 2009, 01:21:52 pm
Solved the vanishing custom fields by saving them again (going to the definition and submitting without changing).

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 26, 2009, 02:44:37 pm
Issue has returned. I have noticed the following:
- The number of "invalid field_ID's" match the number of custom fields.
- The issue does not arise when logged as an administrator, only when a restricted user is used.

I will try to set up a test environment and SSH access.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom field added with an extra empty field during matching
October 26, 2009, 04:41:56 pm
Does the restricted user have "access all custom data" permission?
Protect your investment in CiviCRM by  becoming a Member!

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 27, 2009, 01:12:42 pm
No, he did not. Adding this permission this solves it.

Perhaps I was confused because the custom fields are shown during the mapping process in steps 2 and 3. Should they be available then?

Anyway, thanks for your reply!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom field added with an extra empty field during matching
October 27, 2009, 01:27:37 pm

can you please file an issue for this. we'll fix it in a future 3.x / 4.x release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Custom field added with an extra empty field during matching
October 28, 2009, 08:55:40 am
Done: http://issues.civicrm.org/jira/browse/CRM-5312

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Custom field added with an extra empty field during matching

This forum was archived on 2017-11-26.