Ticket #619 (closed defect: fixed)

Opened 5 months ago

Last modified 4 months ago

[PATCH] Plugins inside extensions view_paths are clobbered

Reported by: xtoddx Assigned to:
Priority: major Milestone: 0.6.5-Chisel
Component: extension system Keywords: extension plugin view_paths
Cc:

Description

I have a plugin (inside an extension) that does an ActionController::Base.prepend_view_path(my_path), but later loads of extensions will clobber the view_path(1). The attached patch respects plugins modifying ActionController::Base.view_paths, but probably the same thing needs to be done for ActionMailer?, I'm just not in a position to test it.

-- 1: Not actually sure it is because of later extensions being loaded, but it _was_ running twice and clobbering the view path, I just didn't track down where both were being called from.

Attachments

view_path.diff (0.7 kB) - added by xtoddx on 02/27/08 15:29:05.
Patch for extension loading to not clobber any view_paths installed by plugins

Change History

02/27/08 15:29:05 changed by xtoddx

  • attachment view_path.diff added.

Patch for extension loading to not clobber any view_paths installed by plugins

03/27/08 21:47:57 changed by xtoddx

  • summary changed from Plugins inside extensions view_paths are clobbered to [PATCH] Plugins inside extensions view_paths are clobbered.

04/18/08 11:21:35 changed by seancribbs

  • status changed from new to closed.
  • resolution set to fixed.

Resolved on github