diff --git a/Form/Admin/CategoryFormBuilder.php b/Form/Admin/CategoryFormBuilder.php
index <HASH>..<HASH> 100644
--- a/Form/Admin/CategoryFormBuilder.php
+++ b/Form/Admin/CategoryFormBuilder.php
@@ -47,7 +47,7 @@ class CategoryFormBuilder extends AbstractFormBuilder
             'label'           => $this->trans('category.label.slug'),
             'name_field'      => $name,
             'generate_route'  => 'admin.routing.generate',
-            'translatable_id' => $this->getParam('id')
+            'translatable_id' => $this->getRequestHelper()->getAttributesBagParam('id')
         ]));
 
         $requiredData->addChild($this->getElement('checkbox', [
@@ -70,7 +70,7 @@ class CategoryFormBuilder extends AbstractFormBuilder
             'sortable'    => false,
             'clickable'   => false,
             'items'       => $this->get('category.dataset.admin')->getResult('flat_tree'),
-            'restrict'    => $this->getParam('id'),
+            'restrict'    => $this->getRequestHelper()->getAttributesBagParam('id'),
             'transformer' => $this->getRepositoryTransformer('entity', $this->get('category.repository'))
         ]));
Fixed deprecation warnings for <I>/<I>

(cherry picked from commit d<I>bce<I>f<I>c<I>f<I>d2cdd<I>e8f<I>e<I>b3)