13 | | Point 2) occurence of this event can be detected. In fact when a model name "MyModel" is present in the Libraries Browser, at least "model MyModel end MyModel;" should be present in the code. So if we try to view (e.g. in text view) a model whose name exists in Libraries Browser, and his code is empty, we understand that corruption has occurred. In this case we could display the dialog similar to the one we already have to send a crash report, to send a "corruption report". While this report is sent, the user can be prompted to check his files and the corresponding "bak" versions. The corruption report should contain useful info to replicate the corruption, and then to fix the issue. |
| 13 | Point 2) occurence of this event can be detected. In fact when a model name "MyModel" is present in the Libraries Browser, at least "model MyModel end MyModel;" should be present in the code. So if we try to view (e.g. in text view) a model whose name exists in Libraries Browser, and his code is empty, OMEdit can understand that corruption has occurred. In this case it could display the dialog similar to the one we already have to send a crash report, to send a "corruption report". While this report is sent, the user can be prompted to check his files and the corresponding "bak" versions. The corruption report should contain useful info to replicate the corruption, and then to fix the issue. |