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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom Data became un-writeable
Pages: [1]

Author Topic: Custom Data became un-writeable  (Read 325 times)

e_mason

  • I post occasionally
  • **
  • Posts: 65
  • Karma: 1
  • Eliot Mason
  • CiviCRM version: 4.05
  • CMS version: Drupal 7
  • MySQL version: 5.1xx
  • PHP version: 3.53
Custom Data became un-writeable
December 10, 2014, 04:47:12 pm
So start with some custom data set and fields ... they work.  Something happens ... and now one of the custom sets is no longer accepting edits of existing values or new values.  It used to (like two months ago), but I'm not exactly sure when it went wrong.

It goes like this:
1) click the tab for "School Data" and see the existing (or absent) data
2) click the edit button - the overlay comes up, everything appears to work, enter new values.  Click submit
3) nothing is saved ... and no errors are thrown.

This is happening to ONLY one of the many custom sets. Thus far I've done the folllowing:
1) evaluated permissionsL it doesn't seem to be permissions (and if it were ... it shouldn't present the "edit" button)
2) tried different users (just because): its not user specific ... admin/user 1 can't make edits stick either
3) enabled debugging: with all the civicrm debugging turned on, no relevant messages are returned or logged to watchdog.
4) pored through MySQL:  I've looked in the database at all the settings, and vs a custom set that works I see no differences in settings.

So has anyone run into this and gotten a solution?  Or if someone can point me to the part of the code that should be doing the actual writing of the data, I'll see if I can reproduce this on the local environment and debug it.

Thanks, Eliot

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Custom Data became un-writeable
December 10, 2014, 04:58:02 pm
Strange things, like not saving, can happen if the name (or was it the label?)  of one of your custom fields contains a character CiviCRM doesn't like for that particular field.

I really can't remember anymore details about the problem, but I remember that once we removed the offending character ( no idea what it was) everything worked as expected.

e_mason

  • I post occasionally
  • **
  • Posts: 65
  • Karma: 1
  • Eliot Mason
  • CiviCRM version: 4.05
  • CMS version: Drupal 7
  • MySQL version: 5.1xx
  • PHP version: 3.53
Re: Custom Data became un-writeable
December 10, 2014, 06:27:42 pm
"contains a character CiviCRM doesn't like " - ah yes. There was one field with a machine name that ended with an underscore, so I changed it out in both the storage field and in the definition (in civicm_value_xxxx & civicm_custom_field).

No change.  : (

Claire

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: CiviCRM 4.5.4
  • CMS version: Joomla
  • MySQL version: MySQLi 5.5.32
  • PHP version: PHP 5.3.29
Re: Custom Data became un-writeable
December 21, 2014, 04:33:23 pm
Am having the same problem using Joomla version of Civicrm. I can save the first change only, then have to log out of CiviCrm and log back in. It happens when adding new name prefixes, account types, and more. Sometimes when I log back in the changes have stuck but didn't display that way.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom Data became un-writeable

This forum was archived on 2017-11-26.