Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-1296
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Finn Herpich
Reporter: Adam Strickland
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Grails Plugins

<jq:plugin> tag is creating a bogus path

Created: 08/Jul/09 01:01 PM   Updated: 17/Jan/10 02:47 PM   Resolved: 16/Jan/10 06:02 PM
Component/s: Grails-jQuery
Affects Version/s: Grails-jQuery 1.3.2.2
Fix Version/s: Grails-jQuery 1.4.0.1

Time Tracking:
Not Specified

File Attachments: 1. File bad_plugin_path.diff (0.8 kB)

Environment: OSX 10.5, Grails 1.1.1, Grails-JQuery 1.3.2.4

Patch Submitted: Yes


 Description  « Hide

using the <jq:plugin> tag as instructed creates a bogus path along the lines of "/<app_name>/js/[:]/<plugin_name>.js". Appears to be ln 13 of JQueryTagLib.groovy: ConfigurationHolder.config.jquery.sources returns [:], which is then interpolated into the path on ln 30. Patch submitted; similar problem with ln 12 (version)?



bruno added a comment - 10/Aug/09 09:58 AM

Same thing happening here.


tsuyoshi otsuki added a comment - 16/Oct/09 03:02 AM - edited

I had solved it problem.ofcourse better it will solve to default parameter setting on source code .

Please append follow parameters into Config.groovy. when you had find it problem.
//jquery.version="1.3.2"
jquery.sources="jquery"


Finn Herpich added a comment - 16/Jan/10 06:02 PM

Fixed in 1.4.0.1, will be released within the next 1 or 2 days.