1. Keeley Stalnaker
  2. PowerBuilder
  3. Monday, 12 April 2021 17:02 PM UTC

Hi;


I inherited a couple Powerbuilder apps that share a common PDB/PBL. App A is on PB 12.1, App B is on PB 12.5. The shared PBL has a popup window object that is used by both apps.

App A experienced an issue where it was just shutting down. I only have PB 19.2 so I had to migrate that PBL to look at it, and saw that the pop up had a malfunctioning timer that was closing the app after 30 seconds.

Since I am lazy and doing my best to avoid migrating anything from 12 to 19, I searched around the previous developer's folders and found a slightly newer version of the PBD that did not have the timer issue and just put that PBD in the EXE folder. That fixed the timer problem on App A, but is causing App B  to throw an "object out of date" error on startup re: that popup. So, I put the old PBD back and App A is stuck closing after 30 seconds.

My boss just told everyone to call me if they are going to use App A so I can switch the PBDs back and forth, so my sanity is on the line here.

I will also mention that the same popup object exists in a different PBL in a new 19.2 app that seems to be working fine.

Can you advise me how to best proceed without breaking stuff? Is there a way to fix the popup without migrating the apps from 12?

Thank you!

Accepted Answer
Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 13 April 2021 00:22 AM UTC
  2. PowerBuilder
  3. # Permalink

Keeley -

   SAVE YOURSELF! Migrate everything to a single code base. In your case, just migrate everything to PB2019R2.

1. Make a backup copy of everything

2. Migrate the code, check all the options in the Migration Assistant.

3. Do a full rebuild.

4. Test.


The migration itself will be easy because you're coming from PBv12.


Later -

Olan

 

Comment
  1. Keeley Stalnaker
  2. Tuesday, 13 April 2021 13:59 PM UTC
Thank you I will have to bite the bullet!
  1. Helpful
There are no comments made yet.
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Tuesday, 13 April 2021 09:11 AM UTC
  2. PowerBuilder
  3. # 1

My boss just told everyone to call me if they are going to use App A so I can switch the PBDs back and forth, so my sanity is on the line here.

Well, I think it's time to find a new boss. Jokes aside, this is a disaster waiting to happen.

Comment
  1. Keeley Stalnaker
  2. Tuesday, 13 April 2021 13:58 PM UTC
LOL
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 12 April 2021 20:12 PM UTC
  2. PowerBuilder
  3. # 2

Hi Keely;

  Why would you want to stay with any PB 12.x versions which are no longer supported by either Sybase or SAP?

Regards ... Chris

Comment
  1. Keeley Stalnaker
  2. Monday, 12 April 2021 20:43 PM UTC
Hi Chris;



Most of our apps are at least 17, but I think these two just weren't used for a while and got passed over for other priorities. I am not against migrating these if I have to, just scared I will break stuff in the shared PBLs in my ignorance.
  1. Helpful
There are no comments made yet.
Matt Balent Accepted Answer Pending Moderation
  1. Monday, 12 April 2021 17:37 PM UTC
  2. PowerBuilder
  3. # 3

Since we are not looking for 'best practices' here I guess you could set up some sort of .BAT file that copies the .PBD over when they run the app.  I'm assuming they are running things locally?

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.