Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Create new contact with default values #6402

Merged
merged 3 commits into from Sep 4, 2018

Conversation

Projects
None yet
6 participants
@kuzmany
Copy link
Contributor

kuzmany commented Jul 31, 2018

Please be sure you are submitting this against the staging branch.

Q A
Bug fix?
New feature?
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs) #6302 & #6435
BC breaks?
Deprecations?

Description:

Issue with default values If contact is created by contactTracker->createNewContact method.
This PR fixed it.

Steps to reproduce the bug:

  1. Create custom field with defaultValue
  2. Create form
  3. Open private browser window and open form page http://yourmautiurl.tld/form/idForm
  4. See new created ID in anonymous contacts and see profile. No set default custom value

Steps to test this PR:

  1. Repeat all steps to reprodue
  2. Anonymous contact created with default values
@johbuch

This comment has been minimized.

Copy link

johbuch commented Jul 31, 2018

tested and it worked ;)

@npracht
Copy link
Member

npracht left a comment

👍

kuzmany added some commits Jul 31, 2018

@AlbanL74fr

This comment has been minimized.

Copy link

AlbanL74fr commented Aug 9, 2018

Tested it too, it worked ;)

@heathdutton heathdutton merged commit e03452b into mautic:staging Sep 4, 2018

2 checks passed

Scrutinizer Analysis: 2 new issues – Tests: passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.