aharui commented on issue #602: Auto-Generated Code is Duplicate
URL: https://github.com/apache/royale-asjs/issues/602#issuecomment-562296039
 
 
   On the VDI, I still could not type into the Code field.  However, using the 
debugger, I forced the Code field to have a unique ID by putting a breakpoint 
in AuthorizedPerson_fn_Validate and altering the setupCode.text.  Then I was 
able to create two new entries without a problem.
   
   I'm not sure what configuration you tested, but one possibility is that 
there is a focusOut handler on the Code field that will call balanceCode so 
there is a chance that when you ran your tests, balanceCode was called as you 
hit the Save button as the Code field lost focus, causing the rest of the logic 
to use a blank code, which could result in the Alert you saw now that you have 
bypassed the blank code check.
   
   It seems strange that you cannot debug a Flex version of your code.  You 
only need to recompile this one module and maybe dbzSetupList.  I can 
understand that you made the production version hard to debug, but you should 
have a way to debug individual modules.
   
   Also, it is strange that you are changing the code from the Flex version.  
You shouldn't have to do that.  I suspect that balanceCode is somehow not doing 
the same thing between Flex and Royale.
   I will look into that more later after going through your other issues from 
today.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to