royale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [royale-asjs] pashminakazi commented on issue #871: Uncaught TypeError: Cannot read property 'toString' of null (HelloWorld.js:106)
Date Thu, 02 Jul 2020 18:13:26 GMT

pashminakazi commented on issue #871:

   I override value getter and return selectedDate,now value is not null but value is now
undefined for
   var date1:String = cc_AthrzDate.value.toString();
   var date2:String = cc_CanclDate.value.toString();
   Please check this setup
   Project Details are :
   Test case is available on VDI.
   Go to sales from Select in Menu
   Go to Carriage/Freight -> Contractor from Setups in Menu
   File : com/dbz/modules/INV/dbzCarriageContractorSetup.mxml
   Click on New button by default there is some date selected for cc_AthrzDate and cc_CanclDate,these
both are MaskedDateField
   when i type code and name which is compulsory to enter and i click save button the exception
thrown : 
   when i re-select the date and click save button then this exception go away
   when i re-selectiing date and click save button,i setted breakpoint to check the value
   So why the value for date is undefined for the first time although it is already selected
by default.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message