Closed (outdated)
Project:
Image Annotator [Annotorious]
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2017 at 09:02 UTC
Updated:
15 Apr 2021 at 07:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chaitanya17 commentedI have changed all $_POST variables with required
\Drupal::request()->request->getmethod.Please check attached working patch.
Comment #3
abhaysaraf commentedThanks Chaitanya17 for raising the concern and providing the solution.
Your solutions were very helpful.
I was not aware of this new way of handling $_POST data.
And in a solution for AnnotationsSaveAction.php, I have used:
This reduces multiple times calling get() function.
In 8.x-1.1, I have added a new feature and fixed the raised bug. Please use 8.x-1.1.
Comment #4
grimreaperHello,
I am sorry but the patch changes had been fixed in other issues.