Skip to content
Sean DeNigris edited this page Sep 9, 2017 · 1 revision

Migration

Handling Missing Inst Vars

Use Case Scenario: You are migrating FileReferences from Pharo 4 to Pharo 6.1. This will fail because FileSystem has a #workingDirectory instVar in the source image, but not in the target.

Solution (from Pharo Users ML): Implement FileSystem class>>#stonAllInstVarNames to skip workingDirectory, or implement/customize FileSystem>>#stonOn: and/or #fromSton:

Clone this wiki locally