1. Noel Hibbard
  2. PowerBuilder
  3. Monday, 13 April 2020 15:32 PM UTC

We have recently switched to PB2019 and making use of Git. The built-in Git support in PB2019 is fairly weak, so we still rely heavily on the git command line and TortoiseGit to bridge the gap. The problem is when external tools make changes to the underlying source files, the IDE is unaware of them and doesn't bring the source back into the PBLs. A workaround is to right click at the top of the workspace tree and select refresh. This is fairly slow and it's an extra step that is easily forgotten. My workaround was to create a tool that starts a file system watcher before launching git or TortoiseGit. When you close TortoiseGit it then generates a list of all files that get changed and then calls pborca190.dll to import the changed objects back into the PBLs. This is much faster than going the Refresh route.

 

This worked well up until R2. Now my utility is throwing this error but ONLY on DataWindows:
The ordinal 345 could not be located in the dynamic link library C:\Program Files (x86)\Appeon\PowerBuilder\pbSourceControl190.dll.

 

Even though it throws this error the source is definitely making it back into the PBL. You have to click OK on each DataWindow one by one. A workaround is to rename pbSourceControl190.dll before doing my ORCA calls and then rename it back when done. I don't like this hacky solution though.

 

I see PowerGen is also experiencing the same problem so at least I am not alone.

https://ecrane.com/support/viewtopic.php?id=306

 

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 21 April 2020 01:50 AM UTC
  2. PowerBuilder
  3. # 1

I believe that Yakov reported this same issue.

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 24 April 2020 13:41 PM UTC
It has been fixed in PowerBuilder 2019 R2 MR version (build 2328).
  1. Helpful
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 21 April 2020 01:32 AM UTC
  2. PowerBuilder
  3. # 2

Hi Noel,

Thanks for reporting this problem.
Currently the development team has fixed the issue regarding the Git functionality.
Please replace the PBLIB190.DLL and PBSourceControl190.dll (default directory is: C:\Program Files (x86)\Appeon\Shared\PowerBuilder) with the attached ones. (see attachment)
Remember to back up your old files before replacing them.
After that please restart the computer and see if it works on your side.
We also suggest that you verify whether it has any impact on other Git functions.

BTW, we will release a new build version maybe this week or next week and it will solve this issue.

Regards,
Mark Lee

Attachments (1)
Comment
  1. Noel Hibbard
  2. Tuesday, 21 April 2020 15:40 PM UTC
This did the trick. Thanks so much for the prompt resolution! One other observation on these new DLLs is when right clicking at the top of the workspace tree and selecting refresh it no longer refreshes random objects that haven't even changed.
  1. Helpful
  1. Mark Lee @Appeon
  2. Wednesday, 22 April 2020 03:43 AM UTC
Hi Noel,

This is normal behavior and you can refer to the following link for detail:

https://docs.appeon.com/appeon_online_help/pb2019r2/pbug/ch03s02.html#svn_get

----------------------------------------------------------------------------------------------------------------------------------------------------------

When Refresh is needed:

If you are not sure whether the PBL file on the source control server is the latest, it is recommended you do a Refresh manually (by right clicking the workspace and selecting Refresh from the popup menu).

-----------------------------------------------------------------------------------------------------------------------------------------------------------



For your issue, you need to select SVN Update when right clicking at the top of the workspace tree.



Regards,



  1. Helpful
  1. Mark Lee @Appeon
  2. Friday, 24 April 2020 06:50 AM UTC
Hi Noel,



Good news that PowerBuilder 2019 R2 MR version (build 2328) has been officially

released. The issue you reported has been fixed in this release. Please

download and install it to verify the issue you reported and let us know if any

problems.

You can get the installer from our Downloads portal at

https://account.appeon.com/download/2019.



We welcome all feedback from you!



Regards,
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 13 April 2020 17:01 PM UTC
  2. PowerBuilder
  3. # 3

Hi Noel;

   Yes, I believe that Ecrane has opened a support ticket on this issue.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.