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
>