GsDevKit / GsDevKit_home

master GsDevKit project
http://gsdevkit.github.io/GsDevKit_home
MIT License
31 stars 37 forks source link

3.7.0 disable isNil optimization in seaside extents #331

Open dalehenrich opened 1 year ago

dalehenrich commented 1 year ago

In a standard 3.7.0 image, the isNil selector was optimized (i.e., not sent) the adverse effect on the GLASS/GsDevKit ecosystem wasn't noticed until too late in the release cycle to properly address the issues, so the decision was made to turn off isNil optimization in seaside extents for the time being ... Visit this link for more details about re-enabling isNil optimizations in GsDevKit_home extents.

Changes need to be made to the GLASS bootstrap process to disable isNil optimization and an additional option will be added to upgradeSeasideImage script to leave optimization enabled, if you know or want to find out if it is necessary to disable isNil optimization or not in your application ---

The known issues are:

  1. unit test failures after bootstrapping glass into extent0.dbf (i.e., running $GS_HOME/bin/bootstrapGLASS)
  2. webSocket failures in a GsDevKit_home image, with the optional webSocket group loaded

However, if your application happens to rely on installing a custom isNil method or overriding an existing isNil method, then you must disable isNil optimization until you've changed your application.

Work is planned to continue after 3.7.0 is release to address the above issues.