AnObsoleteDrGeoScriptXXXX error

Bug #1433529 reported by hilaire on 2015-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
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.

Changed in drgeo:
importance: Undecided → High
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  Edit
Everyone can see this information.

Other bug subscribers