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)
Change History (3)
by , 12 years ago
Attachment: | 2_TermosifoneElettrico.onb added |
---|
comment:1 by , 12 years ago
The result of commands that end with ";" are not displayed by OMNotebook
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
OK, sorry, I forgot about this MATLAB-style feature...
Maybe we should mention it in the help text
OMNotebook document