- 🇸🇰Slovakia poker10
Patch #4 is an API change. I do not think this is the best solution. I think that changing this:
function openlayers_geofield_form_latlon_map($defaults = array(), $map_name) {
function openlayers_geofield_form_latlon_map($defaults = array(), $map_name = '') {
could be a more safer way to do. And also if we check the
openlayers_map_load()
function, where the$map_name
parameter is passed, it already defaults to empty string, so it seems good to me. See: https://git.drupalcode.org/project/openlayers/-/blob/7.x-2.x/openlayers.module#L827 - Status changed to Needs review
almost 2 years ago 8:38am 23 March 2023 - 🇮🇳India mrinalini9 New Delhi
Updated patch #4 by addressing #10, please review it.
Thanks!
- Status changed to RTBC
almost 2 years ago 3:27pm 24 March 2023 - 🇵🇭Philippines roberttabigue
Hi,
The Geofield works for me when enabled without applying the patch against the Drupal core version of 9.5.6 and PHP 8.0.
See the attached screenshots for reference.
-
poker10 →
committed d80b1e80 on 7.x-2.x authored by
mrinalini9 →
Issue #3254220 by mrinalini9, andregp: Deprecated: Required parameter $...
-
poker10 →
committed d80b1e80 on 7.x-2.x authored by
mrinalini9 →
- Status changed to Fixed
over 1 year ago 11:55am 13 May 2023 - 🇸🇰Slovakia poker10
Thanks everyone, committed!
@roberttabigue - this issue is for 7.x-2.x version of the module (e.g. Drupal 7, not Drupal 9/10). It does not seems to affect 8.x-1.x branch.
Automatically closed - issue fixed for 2 weeks with no activity.