[Glass] error upgrading stone: become is not allowed

Johan Brichau via Glass glass at lists.gemtalksystems.com
Thu Apr 27 11:10:38 PDT 2017


Hey Dale,

> I guess to start with, I'd like to see more of the stack … 

In the file in attachment.

> So the first thing to explore is why you are migrating the class when no class versions should have been created --- assuming that the shape of the class NPGsFileWrapper hasn't changed …

The old version of NPGsFileWrapper has become a subclass of Obsolete23GsFile in the upgraded extent.
Reloading our application code loads the NPGsFileWrapper class being a subclass of GsFile, triggering the instance migration.

> I am also curious what steps you've done to do the upgrade prior to loading. Ideally you would be doing something very similar to what is done by the GsDevKit_home upgradeStone script[1] …

I’m executing that script, with a boot load of GLASS1.0-beta.9-3
The application load script first uses GsUpgrader to load GLASS1 and latest Grease, etc… followed by a load of our ConfigurationOfNextPlan.

Except this GsFileWrapper thing… the upgrade process is going well. Nothing in production yet, as we are sorting through compatibilities, automated tests for all platforms, quality checks, 
But all in all, I must say I’m glad we’re finally able to do this at Yesplan ;)

Thanks for any info you can think of to be a little bit at peace of mind with this issue!

Johan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170427/aa2f4499/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: migrateStackError.txt
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170427/aa2f4499/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170427/aa2f4499/attachment-0003.html>


More information about the Glass mailing list