Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redmine 5.1.1 #79

Open
ashrafalzyoud opened this issue Feb 14, 2024 · 5 comments
Open

redmine 5.1.1 #79

ashrafalzyoud opened this issue Feb 14, 2024 · 5 comments

Comments

@ashrafalzyoud
Copy link

ActionView::Template::Error (undefined method `exists?' for File:Class):
13: <%= javascript_include_tag 'd3.min.js', :plugin => 'redmine_pivot_table' %>
14: <%= javascript_include_tag 'c3.min.js', :plugin => 'redmine_pivot_table' %>
15: <%= javascript_include_tag 'c3_renderers.js', :plugin => 'redmine_pivot_table' %>
16: <%= javascript_include_tag @language_js, :plugin => 'redmine_pivot_table', :media => "all" if javascript_exists?(@language_js) %>
17: <% end %>
18:
19: <style>

plugins/redmine_pivot_table/app/helpers/pivottables_helper.rb:114:in `javascript_exists?'
plugins/redmine_pivot_table/app/views/pivottables/index.html.erb:16
plugins/redmine_pivot_table/app/views/pivottables/index.html.erb:9

@ashrafalzyoud
Copy link
Author

@AkiraJager
Copy link

For anyone in search

IN redmine_pivot_table/app/helpers/pivottables_helper.rb

Just use exist instead of exists

@fraoustin
Copy link

@AkiraJager did you generate a fix? if not i can a generate

@AkiraJager
Copy link

@AkiraJager did you generate a fix? if not i can a generate

Go for it

@fraoustin
Copy link

I created pull request
Thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants