0

I have created a Module, I created an admin grid and crud operations. All are working fine when I disabled secret key form store configuration.

In show secret key in url my Edit action and Delete action form Grid row aciton column redirects me to Dashboard, when I debug the issue I found

When I Enter new record after clicking Add New Entity and after filling form when I click on "Save and continue" It showing me

http://localhost/magento2/admin/routeadminlabel/controllername/edits/id/4/key/f5442c2c6575beccf63a1c5b967c28db2c13fe12ff8eb4279657b921192e2202/back/edit/

And when I inspect the aciton column and Grid for same record then I found url below

http://localhost/magento2/admin/routeadminlabel/controllername/edits/id/4/key/d9eb9f94776e10cbaf581829aba8d93e2f2e738905cfe00173e5e1185320be99

Now check the difference between secret keys.

I am new in Magento 2 so I might be asking wrong question, But when I checked the same url for CMS_PAGE, I found same keys on both locaitons.

NOTE-

I have asked another question related to this. Cusotm module edit action redirects it to the dashborard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.