[richfaces-issues] [JBoss JIRA] Commented: (RF-11375) jQuery script file broken in FF6 + FF7

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Sep 7 14:16:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626920#comment-12626920 ] 

Brian Leathem commented on RF-11375:
------------------------------------

Given that there are many examples of ajax working in RichFaces 4.0.0.Final, this cannot be a systematic problem.

Under what circumstances are you seeing this error? With what component, and with what data?  This error is usually indicative of 
jQuery having trouble parsing the string returned from the ajax call.

If you could include any sorces files and steps to reproduce, that would be great.

Alternatively, you could wait for the upcoming 4.1 M2 release, where we've update the jQuery version, and see if the error persists.

> jQuery script file broken in FF6 + FF7
> --------------------------------------
>
>                 Key: RF-11375
>                 URL: https://issues.jboss.org/browse/RF-11375
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality 
>    Affects Versions: 4.0.0.Final
>         Environment: Windows 7 FF6 + FF7
>            Reporter: Heinrich Freiherr von Schwerin
>            Priority: Blocker
>              Labels: chrome, firefox, jquery, richfaces
>         Attachments: error.png
>
>
> Ajax requets are not working in Firefox 6 and Firefox 7.
> An error appears while laoding the jquery.js from <application>/javax.faces.resources/jQuery.js.html
> {noformat} unterminated string literal .. "*": "* jquery.js.html (Line 2199){noformat} 
> This is how the line looks in IE and FF 3-5 : (Affected Line in jquery.js 6371)
> {code:JavaScript} 
> 	ajaxSettings: {
> 		url: ajaxLocation,
> 		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
> 		global: true,
> 		type: "GET",
> 		contentType: "application/x-www-form-urlencoded",
> 		processData: true,
> 		async: true,
> 		/*
> 		timeout: 0,
> 		data: null,
> 		dataType: null,
> 		username: null,
> 		password: null,
> 		cache: null,
> 		traditional: false,
> 		headers: {},
> 		crossDomain: null,
> 		*/
> 		accepts: {
> 			xml: "application/xml, text/xml",
> 			html: "text/html",
> 			text: "text/plain",
> 			json: "application/json, text/javascript",
> 			"*": "*/*"
> 		},
> 		contents: {
> 			xml: /xml/,
> 			html: /html/,
> 			json: /json/
> 		},
> {code} 
> And this how it looks in FF6+
> {code:JavaScript}
> 	ajaxSettings: {
> 		url: ajaxLocation,
> 		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
> 		global: true,
> 		type: "GET",
> 		contentType: "application/x-www-form-urlencoded",
> 		processData: true,
> 		async: true,
> 		/*
> 		timeout: 0,
> 		data: null,
> 		dataType: null,
> 		username: null,
> 		password: null,
> 		cache: null,
> 		traditional: false,
> 		headers: {},
> 		crossDomain: null,
> 		*/
> 		accepts: {
> 			xml: "application/xml,text/xml",
> 			html: "text/html",
> 			text: "text/plain",
> 			json: "application/json,text/javascript",
> 			"*": "*
> /**/*;q=0.01" : "" ) :
> 			s.accepts[ "*" ];
> {code} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list