Permalink
Browse files

bug fix for groupbys stackoverflow due to double linkage with Report

  • Loading branch information...
1 parent a6c73d6 commit 0ae37e2cfe6b2c16edb6130952bfcb4609fc709c @sonalgoyal committed Dec 5, 2012
Showing with 8 additions and 3 deletions.
  1. +2 −3 src/main/java/co/nubetech/crux/model/GroupBys.java
  2. +6 −0 src/main/webapp/js/global.js
@@ -84,7 +84,7 @@ public int hashCode() {
int result = 1;
result = prime * result + ((groupBy == null) ? 0 : groupBy.hashCode());
result = prime * result + (int) (id ^ (id >>> 32));
- result = prime * result + ((report == null) ? 0 : report.hashCode());
+ //result = prime * result + ((report == null) ? 0 : report.hashCode());
return result;
}
@@ -128,8 +128,7 @@ public boolean equals(Object obj) {
*/
@Override
public String toString() {
- return "GroupBys [id=" + id + ", groupBy=" + groupBy + ", report="
- + report + "]";
+ return "GroupBys [id=" + id + ", groupBy=" + groupBy + "]";
}
@@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and limitations under the License.
*/
dojo.require("dojox.widget.Standby");
+var helpLink;
+var helpTitle;
function showProgressIndicator(){
document.body.appendChild(response.domNode);
@@ -31,4 +33,8 @@ function clearResponse(){
function responseMessage(message){
var res=document.getElementById("responseText");
res.innerHTML=message;
+}
+
+function showHelp(){
+ window.open (helpLink, helpTitle, 'width=600,scrollbars=1');
}

0 comments on commit 0ae37e2

Please sign in to comment.