Date fields blank in the payload
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 84
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Description
I have several date fields in my data model, and I'm noticing they are empty when reviewing my payload data. All of these fields have values. All other field data is coming across as expected. I am working with the User sender class.
Steps to reproduce
- Set up User data model w/ custom fields, and configure webhoook
- Create new user with all field data entered.
- Review payload in activity area of plugin
Additional info
- Craft CMS version: 3.7.13
- Webhooks version: 2.4.1
- PHP version: 7.4.2
- Database driver & version: MySQL 5.7.26
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the User sender class, custom date fields, and a webhook, then inspect the payload in the plugin activity area. Compare the blank date fields with the other populated fields; the work is done when User payloads include the entered date values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100