Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
a couple other adjustments are necessary, as this was primarily done to help support multipart node forms. the following additions correct misfired validation errors on multiple stage node forms when they add new required fields on subsequent stages. this fixes the current project module bug on the second stage of the issue submission form, specifically...
install project module...(enable, has a proper .install so you shouldn't need to futz with mysql).
admin/settings/project -> add a term to two to the projects vocab.
create content ->project (enable issue tracking)...
create contect-> issue.....
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commenteda couple other adjustments are necessary, as this was primarily done to help support multipart node forms. the following additions correct misfired validation errors on multiple stage node forms when they add new required fields on subsequent stages. this fixes the current project module bug on the second stage of the issue submission form, specifically...
tested and working well.
Comment #2
hunmonk CreditAttribution: hunmonk commentedadded a few code comments to the patch for clarity.
Comment #3
hunmonk CreditAttribution: hunmonk commentedComment #4
dopry CreditAttribution: dopry commentedre: fb_0.patch in comment #2.
+1, code looks to fit the coding standards...
Tested by using the project module from CVS.
Created a demo project, enabled issue tracking.
Created a new issue. On the second page of the issue form I was immediately greeted with validation errors.
Applied patch
Creating an issue proceeded without the validation errors.
.darrel.
Comment #5
chx CreditAttribution: chx commented$a = $b = foo
is not really used anywhere in Drupal. I broke that into two lines. Otherwise, it's the same.If someone would post some instructions on setting up project that would be a great addition because then I could join the project testers.
Comment #6
dopry CreditAttribution: dopry commentedinstall project module...(enable, has a proper .install so you shouldn't need to futz with mysql).
admin/settings/project -> add a term to two to the projects vocab.
create content ->project (enable issue tracking)...
create contect-> issue.....
Comment #7
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedapplied.
Comment #8
(not verified) CreditAttribution: commented