Opened 8 years ago

Last modified 8 years ago

#4352 new defect

Choosing record results in setComponentModifierValue error message

Reported by: Jan Kokert Owned by: somebody
Priority: high Milestone: Future
Component: Interactive Environment Version:
Keywords: setComponentModifierValue record parameter Cc:

Description

Sorry, if this issue was already reported - I searched for it but I couldn't find anything.

I observed an error message when I set graphically a record for a parameter.
Here an example:
1.) Load the PhotoVolataics system library
2.) Create a new empty model
3.) Insert a solar cell from the library (Components/SimpleCell)
4.) Open the Parameters Dialog of the cell
5.) Choose a solar cell record by typing e.g.
PhotoVoltaics.Records.SHARP_NU_S5_E3E()
6.) Click [OK]
7.) Open the Parameters Dialog of the cell a second time
8.) Change nothing, just click [OK]

The result is the following error message:

[12] 14:51:10 Scripting Error
Unable to set the component modifier value using command setComponentModifierValue(test, cell.moduleData, $Code(=PhotoVolataics.Records.SHARP_NU_S5_E3E()))

It seems that the = is not correctly removed.

Change History (3)

comment:1 by Jan Kokert, 8 years ago

Summary: Choosing record result in setComponentModifierValue error messageChoosing record results in setComponentModifierValue error message

comment:2 by Jan Kokert, 8 years ago

In #4370 a similar error message (but still a different issue) is reported.

comment:3 by Jan Kokert, 8 years ago

Component: *unknown*Interactive Environment
Note: See TracTickets for help on using tickets.