This is for registration_date_repeat.
When registration_date_repeat_field_widget_form is called, $form_state['registration']->entity is not defined. entity_extract_ids is called in that function and needs an entity.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | registration_date-date_repeat_entitymalformedexception-2050857-8.patch | 16.28 KB | jacob.embree |
Comments
Comment #1
jacob.embree commentedComment #2
idebr commentedAttached patch fixes the EntityMalformedException on the registration page. In addition, the configuration for date_repeat is now saved correctly.
Comment #4
idebr commentedThe patch test fails because registration_date_repeat.module was written with CRLF line endings. Attached patch converts the line endings to LF, so it can be applied on the testbot.
Comment #6
idebr commentedComment #8
jacob.embree commentedReroll of #6
Comment #9
jacob.embree commentedComment #10
dat deaf drupaler commentedThere's 3 syntax errors in this patch.. after fixing these typos, error went away and I am now able to save date repeat as instances.
Thank you for great work!
Comment #11
hor8tio commentedCan you please tell us where the 3 syntax errors are? I'm having trouble finding them myself. Gotta get this running asap.
Comment #12
dat deaf drupaler commentedHere's txt file with my revision.. I removed or add $ signs in 3 different places but cant remember where. Would someone be kind enough to create patch and test for this one?
Comment #13
jacob.embree commented#12 has about four obvious mistakes. With those corrected the file matches the results of the patch in #8 perfectly.
#8 still needs review.