Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    JUAN JOSE ROSALES RODRIGUEZ
    @jjrosalesuci
    Hee
    redmine_default_custom_query when i tray on redmine 3.0.1 show NameError: uninitialized constant DefaultCustomQueryHelper
    Katsuya HIDAKA
    @hidakatsuya
    @jjrosalesuci Thank you for your reporting. I'll check the issue.
    Marius Balteanu
    @marius-balteanu
    @hidakatsuya, do you think that is possible in a future version to have the option to set a default query at the instance level? and then the setting to be overwritten from project settings?
    Katsuya HIDAKA
    @hidakatsuya
    @jjrosalesuci Thank you for your reporting. Do you have got the same error in Redmine v3.0.3?
    Katsuya HIDAKA
    @hidakatsuya
    @marius-balteanu Do you mean that the plugin can be set a default query for a global and each project, and the setting in project is higher priority than global it?
    Marius Balteanu
    @marius-balteanu
    @hidakatsuya Yes, exactly. In our setup we have defined two global queries and we want to set one of them as default for all projects. Then, each project, can change the default query for its project.
    Katsuya HIDAKA
    @hidakatsuya
    @marius-balteanu I have understood. I think that the feature is possible to implement, so i’ll try it in the next major version.
    Marius Balteanu
    @marius-balteanu
    thanks!
    YamamotoKeita
    @YamamotoKeita

    インストール時にrakeのmigrateを実行すると、jjrosalesuciと同じ以下のエラーが出ました。
    "NameError: uninitialized constant DefaultCustomQueryHelper"

    以下、詳細です。

    [Environment]
    Redmine version 3.1.1.stable
    Ruby version 2.2.1-p85 (2015-02-26) [x86_64-linux]
    Rails version 4.2.4

    [root@localhost redmine]# rake redmine:plugins:migrate NAME=redmine_default_custom_query RAILS_ENV=production
    rake aborted!
    NameError: uninitialized constant DefaultCustomQueryHelper
    /var/lib/redmine/plugins/redmine_default_custom_query-1.1.2/lib/default_custom_query.rb:18:in <top (required)>' /var/lib/redmine/plugins/redmine_default_custom_query-1.1.2/init.rb:15:inrequire_relative'
    /var/lib/redmine/plugins/redmine_default_custom_query-1.1.2/init.rb:15:in <top (required)>' /var/lib/redmine/lib/redmine/plugin.rb:155:inblock in load'
    /var/lib/redmine/lib/redmine/plugin.rb:146:in each' /var/lib/redmine/lib/redmine/plugin.rb:146:inload'
    /var/lib/redmine/config/initializers/30-redmine.rb:21:in <top (required)>' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:652:inblock in load_config_initializer'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in instrument' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:651:inload_config_initializer'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:616:in block (2 levels) in <class:Engine>' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:615:ineach'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:615:in block in <class:Engine>' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:ininstance_exec'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in run' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:inblock in run_initializers'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:44:in each' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:44:intsort_each_child'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in run_initializers' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:352:ininitialize!'
    /var/lib/redmine/config/environment.rb:14:in <top (required)>' /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:328:inrequire_environment!'
    /var/lib/redmine/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'
    Tasks: TOP => redmine:plugins:migrate => environment

    YamamotoKeita
    @YamamotoKeita
    一つ情報が抜けていましたが、Default Custom Query自体のバージョンは 1.1.2です。
    Katsuya HIDAKA
    @hidakatsuya
    @YamamotoKeita ありがとうございます。3.1.1 出てたのですね。調べてみます。
    YamamotoKeita
    @YamamotoKeita
    ありがとうございます!