Actions
Bug #6598
closedRegistration defaults lost on prefilled
Description
When using prefilled the default registration values don't work. This is due to $postdata not being null. If it's not null CB won't map the defaults in getEditTabs. See if the CB Connect mapping can be strictly to the user object and not need to map to POST.
Updated by krileon about 7 years ago
Sending null won't work as it wipes out the mapped fields. The defaults will likely need to be triggered manually within CB Connect to fix this.
Updated by krileon about 7 years ago
_initFieldToDefault is private so can't be called directly either. Maybe the mapping can be done on a trigger instead?
Updated by krileon about 7 years ago
_initFieldToDefault is basically just doing $field->default. So this can, for now, just be set directly to the user and data array if no value exists in order to set the defaults.
Updated by krileon about 7 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Actions