[bug] Rename MyRuntimeSessionManager fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Ted
Reply | Threaded
Open this post in threaded view
|

[bug] Rename MyRuntimeSessionManager fails

Ted
Hi Andy, Blair,

I tried to rename one of my RuntimeSessionManager subclasses using the
refactoring context menu option. This failed with the message
'Mypackage.pak - the system cannot find the file'.

The file does not exist indeed, I'm using the original .pac package
files (and never used any other).

The error occurs because as part of the rename it tries to do a
Package>>tracePrerequisitesOfImageStripper:. Here it finds the original
MyOldRuntimeSessionManager (in the hiddenObjects), which doesn't exits
anymore and therefore it tries to load a package which contains that
class. The reference appears to be the selected SessionManager in the
LagoonWizard. First manually setting Lagoon to reference
RuntimeSessionManager, save the configuration and then rename does work.

So I think I stumbled on two bugs;
* After the rename Lagoon still references the old SessionManager name
* The ClassLocator>>findOrImportForeignClass tries to load .pak packages
even though only .pac packages are used.

HTH,

Ted


Reply | Threaded
Open this post in threaded view
|

Re: [bug] Rename MyRuntimeSessionManager fails

Esteban A. Maringolo-3
It happened to me in other context, after many failures in the
intention to recover the package, I've fileouted everything and
fixed it by hand. So... no solution.

If somebody has a solution for this, I'll be pleased.


Best regards.

Ted escribió:

> Hi Andy, Blair,
>
> I tried to rename one of my RuntimeSessionManager subclasses using the
> refactoring context menu option. This failed with the message
> 'Mypackage.pak - the system cannot find the file'.
>
> The file does not exist indeed, I'm using the original .pac package
> files (and never used any other).
>
> The error occurs because as part of the rename it tries to do a
> Package>>tracePrerequisitesOfImageStripper:. Here it finds the original
> MyOldRuntimeSessionManager (in the hiddenObjects), which doesn't exits
> anymore and therefore it tries to load a package which contains that
> class. The reference appears to be the selected SessionManager in the
> LagoonWizard. First manually setting Lagoon to reference
> RuntimeSessionManager, save the configuration and then rename does work.
>
> So I think I stumbled on two bugs;
> * After the rename Lagoon still references the old SessionManager name
> * The ClassLocator>>findOrImportForeignClass tries to load .pak packages
> even though only .pac packages are used.
>
> HTH,
>
> Ted
>


Reply | Threaded
Open this post in threaded view
|

Re: [bug] Rename MyRuntimeSessionManager fails

Chris Uppal-3
Esteban,

> It happened to me in other context, after many failures in the
> intention to recover the package, I've fileouted everything and
> fixed it by hand. So... no solution.

See this thread:

http://groups.google.co.uk/groups?threadm=u_OdncGDwt9CaFLcRVn-jw%40nildram.net

(Which is one of the few threads that are still legible in Google...)

    -- chris