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

Not working for redmine 1.2.1 #10

Open
cforce opened this issue Nov 14, 2011 · 3 comments
Open

Not working for redmine 1.2.1 #10

cforce opened this issue Nov 14, 2011 · 3 comments

Comments

@cforce
Copy link

cforce commented Nov 14, 2011

Hi,

in Redmine 1.2.1 the Plugin does not work.

production.log ::debug

Processing WikiExternalFilterController#filter (for _..**.**_ at 2011-07-26 15:21:33) [GET]
I, [2011-07-26T15:21:33.972663 #12175] INFO -- : Parameters: {"name"=>"8c8000772a6d91d2b1363d0852469994ffa36e6bd27f87d6d1e4c38fa9102926", "macro"=>"plantuml", "action"=>"filter", "index"=>"0", "controller"=>"wiki_external_filter"}
D, [2011-07-26T15:21:33.975365 #12175] DEBUG -- : �[4;36;1mSQL (0.2ms)�[0m �[0;1mSELECT max(settings.updated_on) AS max_updated_on FROM settings �[0m
D, [2011-07-26T15:21:33.978998 #12175] DEBUG -- : �[4;35;1mUser Load (0.2ms)�[0m �[0mSELECT * FROM users WHERE (users.id = 5) AND (users.status = 1) AND ( (users.type = 'User' OR users.type = 'AnonymousUser' ) ) �[0m
D, [2011-07-26T15:21:33.991598 #12175] DEBUG -- : Cached fragment hit: views/wiki_external_filter/plantuml/8c8000772a6d91d2b1363d0852469994ffa36e6bd27f87d6d1e4c38fa9102926 (0.1ms)
I, [2011-07-26T15:21:33.994562 #12175] INFO -- : Rendering template within layouts/base
I, [2011-07-26T15:21:33.994777 #12175] INFO -- : Rendering common/error (404)
D, [2011-07-26T15:21:34.000345 #12175] DEBUG -- : �[4;36;1mUserPreference Load (0.2ms)�[0m �[0;1mSELECT * FROM user_preferences WHERE (user_preferences.user_id = 5) LIMIT 1�[0m
D, [2011-07-26T15:21:34.186964 #12175] DEBUG -- : Rendered code_review/_html_header (0.1ms)
D, [2011-07-26T15:21:34.192807 #12175] DEBUG -- : Rendered hooks/opensearch/_view_layouts_base_html_head (1.0ms)
D, [2011-07-26T15:21:34.200825 #12175] DEBUG -- : Rendered wiki_extensions/_html_header (0.2ms)
D, [2011-07-26T15:21:34.205290 #12175] DEBUG -- : �[4;35;1mProject Load (0.2ms)�[0m �[0mSELECT * FROM projects WHERE (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='stuff_to_do_module')) �[0m
D, [2011-07-26T15:21:34.217904 #12175] DEBUG -- : �[4;36;1mFavouriteProject Load Including Associations (5.7ms)�[0m �[0;1mSELECT favourite_projects.id AS t0_r0, favourite_projects.user_id AS t0_r1, favourite_projects.project_id AS t0_r2, projects.id AS t1_r0, projects.name AS t1_r1, projects.description AS t1_r2, projects.homepage AS t1_r3, projects.is_public AS t1_r4, projects.parent_id AS t1_r5, projects.created_on AS t1_r6, projects.updated_on AS t1_r7, projects.identifier AS t1_r8, projects.status AS t1_r9, projects.lft AS t1_r10, projects.rgt AS t1_r11, projects.customer_id AS t1_r12, projects.dmsf_description AS t1_r13 FROM favourite_projects LEFT OUTER JOIN projects ON projects.id = favourite_projects.project_id WHERE (user_id = 5) ORDER BY projects.name�[0m
D, [2011-07-26T15:21:34.224293 #12175] DEBUG -- : �[4;35;1mMember Load Including Associations (3.5ms)�[0m �[0mSELECT members.id AS t0_r0, members.user_id AS t0_r1, members.project_id AS t0_r2, members.created_on AS t0_r3, members.mail_notification AS t0_r4, members.dmsf_mail_notification AS t0_r5, projects.id AS t1_r0, projects.name AS t1_r1, projects.description AS t1_r2, projects.homepage AS t1_r3, projects.is_public AS t1_r4, projects.parent_id AS t1_r5, projects.created_on AS t1_r6, projects.updated_on AS t1_r7, projects.identifier AS t1_r8, projects.status AS t1_r9, projects.lft AS t1_r10, projects.rgt AS t1_r11, projects.customer_id AS t1_r12, projects.dmsf_description AS t1_r13, roles.id AS t2_r0, roles.name AS t2_r1, roles.position AS t2_r2, roles.assignable AS t2_r3, roles.builtin AS t2_r4, roles.permissions AS t2_r5, roles.issues_visibility AS t2_r6 FROM members LEFT OUTER JOIN projects ON projects.id = members.project_id LEFT OUTER JOIN member_roles ON (members.id = member_roles.member_id) LEFT OUTER JOIN roles ON (roles.id = member_roles.role_id) WHERE (members.user_id = 5 AND (projects.status=1)) ORDER BY projects.name�[0m
D, [2011-07-26T15:21:34.237903 #12196] DEBUG -- : �[4;36;1mSQL (0.2ms)�[0m �[0;1mSET NAMES 'utf8'�[0m
D, [2011-07-26T15:21:34.249046 #12196] DEBUG -- : �[4;35;1mSQL (7.5ms)�[0m �[0mSET SQL_AUTO_IS_NULL=0�[0m
D, [2011-07-26T15:21:34.293177 #12175] DEBUG -- : Rendered code_review/_body_bottom (0.3ms)
I, [2011-07-26T15:21:34.302104 #12175] INFO -- : Completed in 329ms (View: 309, DB: 0) | 404 Not Found [http://my.redmine/wiki_external_filter/filter?index=0&macro=plantuml&name=8c8000772a6d91d2b1363d0852469994ffa36e6bd27f87d6d1e4c38fa9102926]
D, [2011-07-26T15:21:34.337123 #12200] DEBUG -- : �[4;36;1mSQL (0.3ms)�[0m �[0;1mSET NAMES 'utf8'�[0m
D, [2011-07-26T15:21:34.349010 #12200] DEBUG -- : �[4;35;1mSQL (8.2ms)�[0m �[0mSET SQL_AUTO_IS_NULL=0�[0m
D, [2011-07-26T15:21:34.389195 #12202] DEBUG -- : �[4;36;1mSQL (0.2ms)�[0m �[0;1mSET NAMES 'utf8'�[0m
D, [2011-07-26T15:21:34.392193 #12202] DEBUG -- : �[4;35;1mSQL (0.2ms)�[0m �[0mSET SQL_AUTO_IS_NULL=0�[0m
D, [2011-07-26T15:21:34.456809 #12204] DEBUG -- : �[4;36;1mSQL (0.3ms)�[0m �[0;1mSET NAMES 'utf8'�[0m
D, [2011-07-26T15:21:34.459688 #12204] DEBUG -- : �[4;35;1mSQL (0.2ms)�[0m �[0mSET SQL_AUTO_IS_NULL=0�[0m
plz update ur plugin for version 1.2.1 (without core patches).
Thanks!

@ndl
Copy link
Owner

ndl commented Jan 16, 2012

Right now there are several patches available for versions higher than 1.0.2:

  • One patch in the adjacent thread by RoadRunnr, not sure to what versions exactly it applies, but it's pretty recent, so I'd expect it to be either for 1.2.x or 1.3.x versions.
  • I recently added patches for 1.3.0 version to plugin homepage.
  • I think I've seen some patches on the Redmine forum, but I haven't tried to analyse them.

I tested only my version of patches, but for me, with Redmine 1.3.0, the patches are enough for it to work, there was no need to change anything in plugin itself when upgrading from 1.0.2

@ndl ndl closed this as completed Jan 16, 2012
@cforce
Copy link
Author

cforce commented Jan 17, 2012

What exactly do i have to patch ?
Or just rebase to actual version here?

Please don't close the bug, becuase i can't cmnfirm it is solved for us!

@ndl ndl reopened this Jan 17, 2012
@ndl
Copy link
Owner

ndl commented Jan 17, 2012

Please follow patching instructions on https://www.ndl.kiev.ua/content/redmine-wiki-external-filter-plugin. I tested it on Redmine 1.3.0 only so cannot guarantee it works for Redmine 1.2.1 though. The code of plugin hasn't changed so no update should be necessary.

If using Redmine 1.3.0 with the patches applied doesn't work - please post log output and exact text you use on the wiki page.

Thanks!

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

2 participants