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 Profiles (Moderator: Dave Greenberg) »
  • More Problems saving profile field values
Pages: [1]

Author Topic: More Problems saving profile field values  (Read 1461 times)

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
More Problems saving profile field values
August 21, 2012, 09:00:51 am
Civi v4.1.5 on Drupal 6

A couple of months ago, using version 4.1.1 I had issues with phone numbers not saving from an On Behalf Of profile embedded in a contribution page.  Here's the forum thread:  http://forum.civicrm.org/index.php/topic,24915.0.html

Since this was marked as a fixed bug in JIRA, I've updated the same site to use the most recent version of Civi, 4.1.5.

But now, addresses are not updated or saved from the OBO profile used in the Contribution page.  This is not the default OBO profile - I'm using a custom profile here that includes some extra fields (those are being saved).  I'm also using a custom template, with minimal changes - a little rearranging and some javascript to restrict choices for a field (but not any of the fields that aren't saved).

This happens whether I am logged in (as user1) or whether I am not logged in at all and am joining as a new member.

I've also created and tested a simple contribution form on the site that uses a built-in profile (nothing we've customized) to collect the organization info and that doesn't work either.

I tried to replicate this in the current Drupal 6/Civi demo, but have not been able to.  However, on the demo, I noticed that the address fields are saved into the default address type no matter what is chosen in the field dropdown on the profile.  In addition, I can't quite tell what version the Drupal 6 demo is using, the footer says Powered by CiviCRM 41474, so perhaps it's not using 4.1.5?
« Last Edit: August 21, 2012, 09:25:32 am by sandys »

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
Re: More Problems saving profile field values
August 29, 2012, 06:29:47 am
Revisiting this issue -

Yesterday I set up a default install of CiviCRM on some fresh server space.  I'm using Drupal 6.26, CiviCRM 4.1.5, default drupal theme, no customization or modules beyond what's required by CiviCRM.

When using the OnBehalfOf profile (the system version) in a Contribution form, the address information is NOT saved in the database.  It's shown on the "Thank You" screen, but never stored.

I tried linking directly to the built in OBO profile to see if data could be saved that way, but I get the following message:
"Profile search, view and edit are not supported for Profiles which include fields for more than one record type."
This is even though the profile page indicates that this profile can be used for a Standalone Form or Directory.

The issue seems to have something to do with the Organization name.  If I remove the Organization Name field from the profile, I can access it via URL.  But then it can no longer be included in the Contribution forms.





Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: More Problems saving profile field values
August 29, 2012, 07:37:17 am
for tracking purpose: http://issues.civicrm.org/jira/browse/CRM-10721

Kurund
Found this reply helpful? Support CiviCRM

Garret2

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: fsdfs
  • CMS version: fsd
  • MySQL version: dfd
  • PHP version: sdfs
Re: More Problems saving profile field values
January 04, 2013, 01:45:18 am
This is a permission problem. The data is actuall saved to the database but it is not available for viewing. try to add administrator permissions to the user you are testing and you will likely see the last value you sent both in read and edit view. This still doesn't solve the issue because I haven't figured out how to change the permission on the profile types.
http://www.duplichecker.com/blog/transitionsand.php

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • More Problems saving profile field values

This forum was archived on 2017-11-26.