struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Thiim (JIRA)" <>
Subject [jira] [Commented] (WW-4349) Missing revision number in struts_dojo.js
Date Fri, 24 Mar 2017 09:53:41 GMT


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:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions:
>            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  The jar
file struts2-dojo-plugin- contains unexpanded source code tags.   This is causing
an issue in the struts_dojo.js file within the jar e.g.
> Version 
> 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 
> 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

View raw message