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

Error Approving Submission #79

Closed
jujubh opened this issue Aug 8, 2019 · 7 comments
Closed

Error Approving Submission #79

jujubh opened this issue Aug 8, 2019 · 7 comments

Comments

@jujubh
Copy link

jujubh commented Aug 8, 2019

Description

Error received on approval.

No submission with the ID “751” - etc

Steps to reproduce

  1. Approve any submission

Additional info

  • Plugin version: 1.2.2
  • Craft version: Craft Pro 3.2.9

Exception: No submission with the ID “751” in /var/www/vendor/verbb/workflow/src/controllers/SubmissionsController.php:189
Stack trace:
#0 /var/www/vendor/verbb/workflow/src/controllers/SubmissionsController.php(110): verbb\workflow\controllers\SubmissionsController->_setSubmissionFromPost()
#1 [internal function]: verbb\workflow\controllers\SubmissionsController->actionApproveSubmission(NULL, Object(craft\elements\Entry))
#2 /var/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#3 /var/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#4 /var/www/vendor/craftcms/cms/src/web/Controller.php(187): yii\base\Controller->runAction('approve-submiss...', Array)
#5 /var/www/vendor/yiisoft/yii2/base/Module.php(528): craft\web\Controller->runAction('approve-submiss...', Array)
#6 /var/www/vendor/craftcms/cms/src/web/Application.php(299): yii\base\Module->runAction('workflow/submis...', Array)
#7 /var/www/vendor/verbb/workflow/src/services/Service.php(120): craft\web\Application->runAction('workflow/submis...', Array)
#8 [internal function]: verbb\workflow\services\Service->onAfterApplyDraft(Object(craft\events\DraftEvent))
#9 /var/www/vendor/yiisoft/yii2/base/Event.php(312): call_user_func(Array, Object(craft\events\DraftEvent))
#10 /var/www/vendor/yiisoft/yii2/base/Component.php(636): yii\base\Event::trigger('craft\services\...', 'afterApplyDraft', Object(craft\events\DraftEvent))
#11 /var/www/vendor/craftcms/cms/src/services/Drafts.php(270): yii\base\Component->trigger('afterApplyDraft', Object(craft\events\DraftEvent))
#12 /var/www/vendor/craftcms/cms/src/controllers/EntryRevisionsController.php(385): craft\services\Drafts->applyDraft(Object(craft\elements\Entry))
#13 [internal function]: craft\controllers\EntryRevisionsController->actionPublishDraft()
#14 /var/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#15 /var/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#16 /var/www/vendor/craftcms/cms/src/web/Controller.php(187): yii\base\Controller->runAction('publish-draft', Array)
#17 /var/www/vendor/yiisoft/yii2/base/Module.php(528): craft\web\Controller->runAction('publish-draft', Array)
#18 /var/www/vendor/craftcms/cms/src/web/Application.php(299): yii\base\Module->runAction('entry-revisions...', Array)
#19 /var/www/vendor/craftcms/cms/src/web/Application.php(566): craft\web\Application->runAction('entry-revisions...', Array)
#20 /var/www/vendor/craftcms/cms/src/web/Application.php(278): craft\web\Application->_processActionRequest(Object(craft\web\Request))
#21 /var/www/vendor/yiisoft/yii2/base/Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request))
#22 /var/www/web/index.php(28): yii\base\Application->run()
#23 {main}

@engram-design
Copy link
Member

Out of interest, is this a new install of Workflow, or was this installed on a previous version and updated?

@jujubh
Copy link
Author

jujubh commented Aug 8, 2019

It's a new install of Workflow, we initially installed on to Craft 3.2.8, experienced the error and then upgraded to Craft 3.2.9 to see if it resolved the issue.

@engram-design
Copy link
Member

Gotcha, I believe this is a bug for new installs, which is why I asked. Will have that fixed up shortly.

@jujubh
Copy link
Author

jujubh commented Aug 8, 2019

Excellent, thanks.

@jasonmccallister
Copy link

Having the same thing, thank you!

@ghost
Copy link

ghost commented Aug 15, 2019

When do you expect to have a release with this bugfix? Not to add urgency, just trying to decide whether or not I want to wait with a deploy. Thanks!

@engram-design
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants