Opened 12 years ago

Closed 12 years ago

#2171 closed defect (invalid)

Misleading diagnostics in OMNotebook

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: high Milestone: 1.9.0
Component: OMNotebook Version: trunk
Keywords: Cc:

Description

Please consider the attached test case. The model in the second interactive cell

model TermosifoneElettricoGradino2
 extends TermosifoneElettrico(deltaQ=1000);
end  TermosifoneElettricoGradino2;

is mis-spelled, with deltaQ instead of DeltaQ (a very common mistake by students). I would expect that hitting shift+enter on the simulate cell generates an error. Instead, the compiler answers "[done]", and still shows me the previously computed simulation result when I plot the T variable. This is extremely dangerous, because the user thinks he's seeing the results with a modified parameter, but he actually isn't.

Attachments (1)

2_TermosifoneElettrico.onb (62.9 KB ) - added by Francesco Casella 12 years ago.
OMNotebook document

Download all attachments as: .zip

Change History (3)

by Francesco Casella, 12 years ago

Attachment: 2_TermosifoneElettrico.onb added

OMNotebook document

comment:1 by Martin Sjölund, 12 years ago

The result of commands that end with ";" are not displayed by OMNotebook

comment:2 by Francesco Casella, 12 years ago

Resolution: invalid
Status: newclosed

OK, sorry, I forgot about this MATLAB-style feature...
Maybe we should mention it in the help text

Note: See TracTickets for help on using tickets.