[ 
https://issues.apache.org/jira/browse/WW-4349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940080#comment-15940080
 ] 

Martin Thiim commented on WW-4349:
----------------------------------

Hi we encountered this problem when upgrading to Struts2 version 2.3.32. Errors 
are seen in the browser console when loading dojo.js and 
dojo.js.uncompressed.js because it doesn't contain the revision number. So I 
can confirm what Nikos reported in his post, that this was only fixed in the 
struts_dojo.js.uncompressed .js and struts_dojo.js files, not the dojo.js and 
dojo.js.uncompressed.js files. I have corrected this manually and repacked the 
JAR file which solves the issue. However, it would be nicer this was part of 
the official distribution. So I hereby request reopen the JIRA as suggested by 
Lukasz :-) It doesn't seem I have permission to reopen it.

> Missing revision number in struts_dojo.js
> -----------------------------------------
>
>                 Key: WW-4349
>                 URL: https://issues.apache.org/jira/browse/WW-4349
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.3.16.3
>            Reporter: James Kelly
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.20
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I’ve encountered an issue with the struts dojo plug-in for version 2.3.16.3.  
> The jar file struts2-dojo-plugin-2.3.16.3.jar contains unexpanded source code 
> tags.   This is causing an issue in the struts_dojo.js file within the jar 
> e.g.
> Version 2.3.15.2 
> struts_dojo.js line 36 :
> {code:javascript}
> dojo.version={major:0,minor:4,patch:3,flag:"",revision:Number("$Rev: 670371 
> $".match(/[0-9]+/)[0]),toString:function(){
> {code}
> Version 2.3.16.1 
> struts_dojo.js line 36 :
> {code:javascript}
> dojo.version={major:0,minor:4,patch:3,flag:"",revision:Number("$Rev$".match(/[0-9]+/)[0]),toString:function(){
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to