Questions? Feedback?powered byOlark live chat software
Bug 3449

Web Service Proxy Generator and GIT 09 October, 2019

René Ullrich
08 October, 2019
Product: PowerBuilder Category: Other
Version: 2019 Publishing: Public
Status: Reproducing Priority: P3
Classification: Resolution:
Chris Pollach 08 October, 2019
Hi René;

  Good point ... I was thinking of the Git Premium (paid) version where you can checkout & lock. You are 100% correct though that the regular Git versions cannot perform these actions in advance.

  The key then is that the PB IDE mark the proxy objects as "changed" when the WS Proxy project is executed.

Regards ... Chris
René Ullrich 08 October, 2019
Hi Chris,
there is no checkout functionality with Git! Usually you open a object and simply change it. PowerBuilder saves it to PBL and ws_objects directory. 
But not in all cases. :-(
Chris Pollach 08 October, 2019
  I will now transfer this ticket over to the main Support / Engineering team for their review & recommendations for this enhancement request.
Chris Pollach 08 October, 2019
Hi René;

  Ideally, the developer would have checked out the proxy objects before refreshing the related PBL. However, you bring up an excellent point in that the IDE should advise the developer that the proxy objects are currently under SCM control before over-writing them. Even better, allow an option to checkout the objects for you before proceeding.

Regards ... Chris
René Ullrich 08 October, 2019
*Phenomenon:
I use Web Service Proxy Generator to create proxy objects for a webservice. Object are generated into a separate PBL. This PBL is under source control using native Git.

Problem: The Proxy Generator overwrites existing objects in the PBL but not updates the file in ws_objects directory. So the changes are not persistent because PowerBuilder updates the PBL from ws_objects directory.

Remarks:
This problem also occurs if you copy objects from a library in one application to a library in another application.
This behavior is dangerous because PowerBuilder doesn't show that there is a difference between the PBL and the ws_objects directory. So you may lose unnoticed this changes on a Refresh.
OS:
Windows 7 
Platform:
 
Database Type:
 
Database Version: