Problem/Motivation

A lot of people are using drush to deploy and update their websites. With gmap_regenerate_markers() locked in cli mode without any commented reason, some updates are failing without any warning and it's really hard to find out why. The result is that the gmap_markers.js file is not created so all the maps that uses custom markers are appearing empty.

Steps to reproduce

  1. Install Drupal 7
  2. Download and enable gmap
  3. $ rm -rf sites/default/files/js/gmap_markers.js
  4. $ drush ev "gmap_regenerate_markers();"
  5. $ ls -l sites/default/files/js/gmap_markers.js

Proposed resolution

Unlock that function as it contains absolutely nothing that is likely to fail specifically in cli mode.

Remaining tasks

Contributor tasks needed
Task Novice task? Contributor instructions Complete?
Create a patch Instructions Done in #1
Manually test the patch Novice Instructions
Add steps to reproduce the issue Novice Instructions Done in #1
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards Instructions

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuaelFr created an issue. See original summary.

DuaelFr’s picture

Assigned: DuaelFr » Unassigned
Issue summary: View changes
Status: Active » Needs review
FileSize
390 bytes
podarok’s picture

Status: Needs review » Fixed

That was made due to issues in the past.
I believe all those issues were fixed, so merging.
Thanks for pushing this up.

  • podarok committed a9253b2 on 7.x-2.x authored by DuaelFr
    Issue #2571855 by DuaelFr: Unlock gmap_regenerate_markers in cli mode
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.