Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1.1k
    • Issues 1.1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #766
Closed
Open
Issue created Feb 28, 2019 by ken@ken

New Event using a template - clicking "Continue" doesn't save custom data

When creating a New Event from an Event Template, and entering custom data for the event, hitting "Continue" doesn't save the custom data. This happens for me on 5.10.4, on the CiviHosting demo which is running 5.10.0, and the CiviCRM Sandbox running 5.12.alpha1.

How to reproduce

  1. Add a custom field to Event entities
  2. Click Events > New event
  3. Choose an Event Template
  4. Enter the mandatory fields and the custom data
  5. Click Continue
  6. Reload the page to force CiviCRM to fetch the event from the database
  7. Visit the Info and Settings tab
  8. The custom data is unset

Hint

In my debugger I had a breakpoint in my implementation of hook_civicrm_pre() and this didn't trigger when Continue was pressed, but did when Save or Save and Done were pressed. If Continue bypasses pre() then perhaps it skips the Custom Data too?

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