When I get to the Job workflow portion of the install (http://www.singularo.com/4_workflow_modules) it will not enable and gives no error

CommentFileSizeAuthor
#3 erp_job.module_1.patch2.28 KBoadaeh
#2 erp_job.module_0.patch3.32 KBoadaeh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

oadaeh’s picture

I'm seeing this behavior also. I've attempted to debug it, but as far as I got was determining that $op never gets set, so no actions happen.

I did also find a bug with the how often to process select field that I'll include in the patch I create.

oadaeh’s picture

Status: Active » Needs review
FileSize
3.32 KB

Well, the problem is that the $op variable isn't getting set, and that's because the $form_values[] array isn't filled at the point it's needed. Changing

$op = $form_values['op'];

to

$op = $_POST['op'];

gets it working. The better fix would be to create a submit function and do that processing there.

For the short term, I've attached a patch which uses $_POST. It also has fixes for four other problems that I discovered while trying to fix this one.

oadaeh’s picture

FileSize
2.28 KB

Oops! The previous patch has other changes that were submitted on other patches. This one has only the changes I mentioned.

singularo’s picture

We're working on getting erp ready for 5.x at the moment. The $form_values vs $_POST['op'] things should be worked out with the remaining changes. No point in patching it back to $_POST['op'], as thats the "old way" of doing things.

oadaeh’s picture

I'm glad you're working on getting ready for 5.x, and I can't wait for it's completion. In the mean time, I and others want to review and try out this set of modules to see if they're suitable for our needs. My patch simply gives tdohner (and anyone else) an opportunity to do that. I did say "For the short term,".

Also, I and others can help out with small bugs and inconsistencies, so you all can focus on the main functionality of the module set. That won't be taking anything away from what you're doing, but will hopefully be helping you reach completion sooner.

singularo’s picture

Status: Needs review » Closed (won't fix)

The 5.x never was never really completed, but 6.x is nearing beta quality, please give it a try.