GithubHelp home page GithubHelp logo

triggerau / redmine_membersgmap Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 348 KB

plugin for Redmine adds a wiki macro that will generate a Google Map showing member locations based on a custom user field

License: Other

Ruby 100.00%

redmine_membersgmap's People

Contributors

triggerau avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

redmine_membersgmap's Issues

query error on loading wiki macro

Hi,
I install your plugin

and add a wiki page:

Wiki

{{members_gmap(Google Maps Location)}}

I add a custom field on user
image 890

and after

Error executing the members_gmap macro (Couldn't find all Users with 'id': (all, {:conditions=>["users.id IN (SELECT DISTINCT user_id FROM members WHERE project_id=(?))", 1]}) [WHERE users.type IN ('User', 'AnonymousUser') AND users.status = ?](found 0 results, but was looking for 2))

Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.9-p490 (2016-03-30) [x86_64-linux]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.16
Cvs 1.12.13
Git 2.7.4
Filesystem
Redmine plugins:
event_notifications 3.2.1
periodictask 3.1.1
redmine_customize_core_fields 1.0.0
redmine_edit_custom_fields 0.0.4
redmine_logs 0.1.0
redmine_membersgmap 0.1.0
redmine_new_issue_status 3.0
redmine_tkgmap 0.1
redmine_tweaks 0.5.8-dev
redmine_zxcvbn 1.0.0

Error from representing the map in the wiki

I follow the instruction (add a custom field for users, add the code ine the wiki,...) and i have this error

Error executing the members_gmap macro (Couldn't find all Users with 'id': (all, {:conditions=>["users.id IN (SELECT DISTINCT user_id FROM members WHERE project_id=(?))", 9]}) [WHERE users.type IN ('User', 'AnonymousUser') AND users.status = 1](found 0 results, but was looking for 2))

My custom field is : CARTE and the data is a "postal code" (75019).

I use a debian 2.5.2 redmine pakage.

So what i do now ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.