Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Grid error

    Hello there,

    I'm sure you guys have missed me around here!

    I am getting an error that looks to be in the smartclient grid logic for 6.5.1. It only happens in Firefox and it only happens when a specific sequence of events occur. Below is the relevant Firebug output. Can you please advise?

    Code:
    this.$519 is undefined
    http://localhost:8080/dev/isoversion/6.5.1.soasta/isomorphic/system/modules/ISC_Grids.js?isc_version=6.5.js
    Line 634
    
    518()(0)ISC_Grid...on=6.5.js (line 634)
    redraw()("Showing editor", undefined, undefined, undefined)ISC_Grid...on=6.5.js (line 627)
    32s()(1, 0)ISC_Grid...on=6.5.js (line 1121)
    showInlineEditor()(1, 0, true, true, undefined)ISC_Grid...on=6.5.js (line 1114)
    31u()(1, 0, undefined)ISC_Grid...on=6.5.js (line 1102)
    finalEval()()ISC_Core...on=6.5.js (line 57)
    fireCallback()("if((success||!this.stopOnErrors)&&(this.$32p==1223493485936))this.$31u(1,0);", "rowNum,colNum,editCompletionEvent,success", 0,4,programmatic,true 0=0 1=4 2=programmatic 3=true Class=Array, [ATListGrid ID:fundAssetQuickAddGrid] ns=Object ID=fundAssetQuickAddGrid headerHeight=36, undefined)ISC_Core...on=6.5.js (line 267)
    delayCall()("if((success||!this.stopOnErrors)&&(this.$32p==1223493485936))this.$31u(1,0);", "rowNum,colNum,editCompletionEvent,success", 0,4,programmatic,true 0=0 1=4 2=programmatic 3=true Class=Array, undefined)ISC_Core...on=6.5.js (line 359)
    50u()("if((success||!this.stopOnErrors)&&(this.$32p==1223493485936))this.$31u(1,0);", 0, 4, "programmatic", true)ISC_Grid...on=6.5.js (line 1459)
    saveEdits()("programmatic", "if((success||!this.stopOnErrors)&&(this.$32p==1223493485936))this.$31u(1,0);", 0, 4, undefined)ISC_Grid...on=6.5.js (line 1416)
    32l()(1, 0, "programmatic")ISC_Grid...on=6.5.js (line 1375)
    32f()("programmatic", 0, 4, 1, 0)ISC_Grid...on=6.5.js (line 1092)
    startEditing()(1, 0, undefined, undefined)ISC_Grid...on=6.5.js (line 1083)
    startEditingNew()(undefined, undefined)ISC_Grid...on=6.5.js (line 1217)
    editComplete()(0, 4, Object fundID=1 analystID=1 statusID=4, undefined)dpt.form (line 3175)
    339()(Object editValuesID=_0 rowNum=0 colNum=4 values=Object, "if((success||!this.stopOnErrors)&&(this.$32p==1223493485936))this.hideInlineEditor(true);", Object operationId=custom clientContext=Object, Object operationType=add dataSource=FundAsset data=Object)ISC_Grid...on=6.5.js (line 1455)
    337()(Object operationId=custom clientContext=Object, Object operationType=add dataSource=FundAsset data=Object)ISC_Grid...on=6.5.js (line 1444)
    finalEval()()ISC_Core...on=6.5.js (line 57)
    fireCallback()("fundAssetQuickAddGrid.$337(dsResponse, dsRequest)", "dsResponse,data,dsRequest", Object 0=Object 1=Object 2=Object Class=Array, [DataSource ID:FundAsset] ns=Object spring=urn:jsptld:/WEB-INF/spring.tld, undefined)ISC_Core...on=6.5.js (line 267)
    delayCall()("fundAssetQuickAddGrid.$337(dsResponse, dsRequest)", "dsResponse,data,dsRequest", Object 0=Object 1=Object 2=Object Class=Array, undefined)ISC_Core...on=6.5.js (line 359)
    38b()(Object 0=Object Class=Array, Object operationId=custom clientContext=Object, Object operationType=add dataSource=FundAsset data=Object, Object operationId=custom clientContext=Object, Object operationType=add dataSource=FundAsset data=Object)ISC_Data...on=6.5.js (line 429)
    prepareDataSourceData()(Object operationId=custom clientContext=Object, Object 0=Object Class=Array, Object operationType=add dataSource=FundAsset data=Object)ISC_Data...on=6.5.js (line 1070)
    fireCallback()(Object target=[DataSource ID:FundAsset] methodName=$50h, "rpcResponse,data,rpcRequest", Object 0=Object 1=Object 2=Object Class=Array, [DataSource ID:FundAsset] ns=Object spring=urn:jsptld:/WEB-INF/spring.tld, undefined)ISC_Core...on=6.5.js (line 267)
    delayCall()(Object target=[DataSource ID:FundAsset] methodName=$50h, "rpcResponse,data,rpcRequest", Object 0=Object 1=Object 2=Object Class=Array, undefined)ISC_Core...on=6.5.js (line 359)
    evalResult()(Object target=[DataSource ID:FundAsset] methodName=$50h, Object operationType=add dataSource=FundAsset data=Object, Object operationId=custom clientContext=Object, Object 0=Object Class=Array)ISC_Data...on=6.5.js (line 766)
    fireReplyCallbacks()(Object operationType=add dataSource=FundAsset data=Object, Object operationId=custom clientContext=Object)ISC_Data...on=6.5.js (line 770)
    performOperationReply()(Object operationType=add dataSource=FundAsset data=Object, Object operationId=custom clientContext=Object)ISC_Data...on=6.5.js (line 765)
    39d()(1)ISC_Data...on=6.5.js (line 759)
    performTransactionReply()(1, "//isc_RPCResponseStart-->[\n {\n isDSResponse:true,\n invalidateCache:false,\n status:0,\n data:[\n {\n actualCostBasis:null,\n actualCurrentShares:null,\n analysisConfidenceID:100,\n analystID:1,\n assetAvgDailyVol:null,\n assetBeta:null,\n assetExchangeRate:null,\n assetID:3886,\n assetIdeaSource:null,\n assetName:null,\n assetNotes:null,\n assetNotesShort:null,\n assetScenarioListJSON:[],\n associateID:null,\n categoryID:null,\n companyID:null,\n costBasis:0.0,\n createdUserID:null,\n createdUserName:"Williams, Roy",\n currentIntegrationShares:0.0,\n currentPrice:null,\n currentShares:0.0,\n departmentID:null,\n exchangeAccess:null,\n fetchAssetNames:null,\n fixedAssetAvgDailyVol:null,\n fixedAssetBeta:null,\n fixedAssetExchangeRate:null,\n fixedAssetFlag:false,\n fixedAssetName:null,\n fixedAssetPrice:null,\n fixedOPS:null,\n fixedOPSToCPSFlag:false,\n fundAssetID:3876,\n fundAssetSectorListJSON:[],\n fundAssetTradeHistoryListJSON:[],\n fundID:1,\n fundJSON:null,\n fundName:"Alpha Fund",\n fundVersion:76,\n gridFundAsset:true,\n initialScreenLoad:null,\n loadAllObjects:null,\n maxPositionReason:null,\n maxPositionSize:null,\n modifiedUserID:null,\n modifiedUserName:"Williams, Roy",\n nonActive:null,\n restrictiveAccessCheck:null,\n safetyMargin:null,\n scenariosModified:null,\n searchString:null,\n shareBias:0.0,\n sharesPurchasedCost:-0.0,\n sharesSoldCost:-0.0,\n statusID:4,\n ticker:"WR",\n traderID:null,\n tradesModified:null,\n version:0,\n viewUserID:1,\n washRuleDate:null,\n created:Date.parseServerDate(2008,9,8),\n modified:Date.parseServerDate(2008,9,8)\n }\n ]\n }\n]//isc_RPCResponseEnd", undefined)ISC_Data...on=6.5.js (line 741)
    (?)()(1, "//isc_RPCResponseStart-->[\n {\n isDSResponse:true,\n invalidateCache:false,\n status:0,\n data:[\n {\n actualCostBasis:null,\n actualCurrentShares:null,\n analysisConfidenceID:100,\n analystID:1,\n assetAvgDailyVol:null,\n assetBeta:null,\n assetExchangeRate:null,\n assetID:3886,\n assetIdeaSource:null,\n assetName:null,\n assetNotes:null,\n assetNotesShort:null,\n assetScenarioListJSON:[],\n associateID:null,\n categoryID:null,\n companyID:null,\n costBasis:0.0,\n createdUserID:null,\n createdUserName:"Williams, Roy",\n currentIntegrationShares:0.0,\n currentPrice:null,\n currentShares:0.0,\n departmentID:null,\n exchangeAccess:null,\n fetchAssetNames:null,\n fixedAssetAvgDailyVol:null,\n fixedAssetBeta:null,\n fixedAssetExchangeRate:null,\n fixedAssetFlag:false,\n fixedAssetName:null,\n fixedAssetPrice:null,\n fixedOPS:null,\n fixedOPSToCPSFlag:false,\n fundAssetID:3876,\n fundAssetSectorListJSON:[],\n fundAssetTradeHistoryListJSON:[],\n fundID:1,\n fundJSON:null,\n fundName:"Alpha Fund",\n fundVersion:76,\n gridFundAsset:true,\n initialScreenLoad:null,\n loadAllObjects:null,\n maxPositionReason:null,\n maxPositionSize:null,\n modifiedUserID:null,\n modifiedUserName:"Williams, Roy",\n nonActive:null,\n restrictiveAccessCheck:null,\n safetyMargin:null,\n scenariosModified:null,\n searchString:null,\n shareBias:0.0,\n sharesPurchasedCost:-0.0,\n sharesSoldCost:-0.0,\n statusID:4,\n ticker:"WR",\n traderID:null,\n tradesModified:null,\n version:0,\n viewUserID:1,\n washRuleDate:null,\n created:Date.parseServerDate(2008,9,8),\n modified:Date.parseServerDate(2008,9,8)\n }\n ]\n }\n]//isc_RPCResponseEnd", undefined)ISC_Data...OuA%3D%3D (line -697)
    fireCallback()("isc.RPCManager.performTransactionReply(transactionNum,results,wd)", "transactionNum,results,wd", 1,//isc_RPCResponseStart-->[ { isDSResponse:true, invalidateCache:false, status:0, data:[ { actualCostBasis:null, actualCurrentShares:null, analysisConfidenceID:100, analystID:1, assetAvgDailyVol:null, assetBeta:null, assetExchangeRate:null, assetID:3886, assetIdeaSource:null, 
    
    ....remove some of this for brevity....
    
    (2008,9,8),\n modified:Date.parseServerDate(2008,9,8)\n }\n ]\n }\n]//isc_RPCResponseEnd", undefined)ISC_Data...on=6.5.js (line 1087)
    onload(load )smartcli...Qyw%3D%3D (line 3)
    [Break on this error] ,isc.A.$518=function(_1){var _2=this.gri...null){_3.$11b(_4);if(this.$519[0]!=null)

    #2
    Hi senordhuff,

    It's not clear if this is just a need for a null check or whether the grid has been put into an invalid state where it will crash later on even if this error is avoided.

    What is the specific sequence of events you referred to?

    Comment

    Working...
    X