- Ruth Spradlin
- PowerBuilder
- Friday, 3 March 2023 03:05 AM UTC
My supervisor and I are trying to migrate an app from 17.2 to 17.3. My supervisor installed 17.3 on their machine. When they tried to migrate it, they got 6 errors on a datawindow event. The event ue_search is simple It is called with no parameters from the window open event. It then calls a second event ue_clicked and passes one long variable for row. The error generated was mismatched in type. The variables in the code are correct. It builds and runs with no issues. I tried to eleminate the call to ue_clicked by putting that code directly into the ue_search code. When my supervisor tried to migrate again, it gave her 6 more errors on different windows. Every time I fixed one, it would add another one.
My supervisor unitstalled 17.3 and reinstalled it. When they open the 17.2 code in 17.3 before migrating, both the ue_search and ue_clidked events show up as importjson in place of the event name. The ue_search event then shows ref string error as a parameter where ue_search did not have any parameters. If my supervisor then migrated the app, it completes with no errors, but still has the 2 event names replaced with importjson. I can not find any issues with the code.
I am attaching 2 screenshots. The first is the code open in 17.2. The second is the code open in 17.3.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.