AnObsoleteDrGeoScriptXXXX error

Bug #1433529 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
High
Unassigned

Bug Description

Sktech containing several instance of the same script produce AnObsoleteDrGeoScriptXXXX error at load time.

Solution: do not recompile a script class when it is already load & compiled in the Dr. Geo.

Tags: core
Changed in drgeo:
importance: Undecided → High
Revision history for this message
hilaire (hilaire-fernandes) wrote :

Modify the method below:

DrGeoXml>>parseScript: drgeoNode
"First do one pass to compile all the Smalltalk source code script, do not recompile duplicate ones"
 drgeoNode elementsDo: [: node |
  (node tag = #value and: [(node attributeAt: #type) = #script]) ifTrue: [
   [(node attributeAt: #class) asClass]
    on: NotFound
    do: [CodeImporter evaluateString: (node contentStringAt: #code)]]]

Changed in drgeo:
status: Confirmed → In Progress
Changed in drgeo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.