ProcessController: Properly handle spaces in node names

This commit is contained in:
Johannes Meyer 2019-02-14 14:26:20 +01:00
parent 763ac872d3
commit 71fb738016

View file

@ -316,10 +316,8 @@ class ProcessController extends Controller
))->add(Html::tag(
'a',
[
'href' => Url::fromPath(
'businessprocess/process/config',
$this->getRequest()->getUrl()->getParams()->toArray(false)
)
'href' => Url::fromPath('businessprocess/process/config')
->setParams($this->getRequest()->getUrl()->getParams())
],
$this->translate('Store')
))->add(Html::tag(
@ -427,10 +425,8 @@ class ProcessController extends Controller
->add(Html::tag('h1', null, $title))
->add($this->createConfigActionBar($bp));
$url = Url::fromPath(
'businessprocess/process/show',
$this->getRequest()->getUrl()->getParams()->toArray(false)
);
$url = Url::fromPath('businessprocess/process/show')
->setParams($this->getRequest()->getUrl()->getParams());
$this->content()->add(
$this->loadForm('bpConfig')
->setProcessConfig($bp)