Closed (fixed)
Project:
GoogleMap Block
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Feb 2017 at 13:32 UTC
Updated:
23 Mar 2017 at 18:21 UTC
Jump to comment: Most recent, Most recent file
Hi B N Pandey,
There are some issues at some places like.
1. In EditLocation.php file you have used
$redirect = new RedirectResponse($base_url . '/admin/structure/gmap-location');
$redirect->send();Correct way to redirect form is
$form_state->setRedirectUrl($url);
2. Same issue in file "MapLocationDelete.php"
$redirect = new RedirectResponse($base_url . '/admin/structure/gmap-location');
$redirect->send();Correct way to redirect form is
$form_state->setRedirectUrl($url);
3. Wrong button name on edit location page.
Current button say "Add location"
Correct text is Update Location
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | redirectResponse_code_update_button_text-2851859-02.patch | 1.83 KB | aloknarwaria |
Comments
Comment #2
aloknarwaria commentedHi B N Pandey,
Please find the patch to fix the issue reported.
Comment #3
aloknarwaria commentedComment #4
aloknarwaria commentedComment #5
aloknarwaria commentedComment #6
aloknarwaria commented