Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,373
    • Issues 1,373
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM Core
  • Issues
  • #1330

Closed
Open
Created Oct 18, 2019 by kristinec@kristinec

Too many custom fields

Adding 93+ custom fields within a custom_group seems to cause a DB Constraint error and gives an error when clicking manage cases (for some cases). To replicate:

  1. Create a custom group
  2. Add 93 custom fields
  3. Once you pass 93, the error "DB Constraint Violation - custom_group_id should possibly be marked as mandatory for CustomField,create API. If so, please raise a bug report" appears when saving a new custom field.
  4. Find several cases and when trying to access their case page, I get an error: "case_id is not valid : 1."
  5. Disable the custom group. Error #4 disappears.

This can be marked as a paid-issue-queue.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking