The form hook implementations in Varbase update helper don't check for the checklist id and hence run on checklists created by other modules.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mhawwari created an issue. See original summary.

mhawwari’s picture

Assigned: mhawwari » Unassigned
Status: Active » Needs review
FileSize
5.72 KB

I added ID checks for all form hooks implemented in varbase_update_helper.module

Status: Needs review » Needs work

The last submitted patch, 2: varbase_update_helper_check_id-3168971-2.patch, failed testing. View results

Rajab Natshah’s picture

Status: Needs work » Needs review
Rajab Natshah’s picture

Title: Varbase update helper hook implementations don't check the checklist id » Fix Varbase update helper hook implementations don't check the checklist id issue
Rajab Natshah’s picture

Title: Fix Varbase update helper hook implementations don't check the checklist id issue » Fix Varbase update helper hook implementations do not check the checklist id issue

Rajab Natshah’s picture

Assigned: Unassigned » Mohammed J. Razem
Issue tags: +varbase-8.8.7, +varbase-9.0.0

Committed ... Thank you Hawwari <3

rajab@vardot-dev:/var/www/html/products/varbase_core$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,theme,scss,css,info,txt,md,yml /var/www/html/products/varbase_core/ --ignore="modules/varbase_tour/node_modules"

rajab@vardot-dev:/var/www/html/products/varbase_core$ phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,theme,scss,css,info,txt,md,yml /var/www/html/products/varbase_core/ --ignore="modules/varbase_tour/node_modules"
Rajab Natshah’s picture

Assigned: Mohammed J. Razem » Unassigned
Rajab Natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.