Bug 560279 - Diagram stops saving after sometime
Summary: Diagram stops saving after sometime
Status: RESOLVED INVALID
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.1.0   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2020-02-18 09:05 EST by Pratiksha Dalal CLA
Modified: 2020-08-07 10:47 EDT (History)
2 users (show)

See Also:


Attachments
As shown in the screenshot the highlighted part is not saving (307.93 KB, image/png)
2020-02-18 09:05 EST, Pratiksha Dalal CLA
no flags Details
I have added a sample project where I have attached sample project I have kept com.algoshack.algoprofiler.algoIQ package and generated code in base eclipse and com.algoshack.algoprofiler.algoIQ.design (2.71 MB, application/x-zip-compressed)
2020-02-24 12:13 EST, Pratiksha Dalal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pratiksha Dalal CLA 2020-02-18 09:05:26 EST
Created attachment 281853 [details]
As shown in the screenshot the highlighted part is not saving

I have some elements in properties sheet that will not save some time.

As shown in the screenshot the highlighted part is not saving. we have checked for the feature name which is given correctly. I am facing this issue for a long time now and we are loosing alot of work because of that. '

Initially astrick mark will come if any changes are done after sometime that astrick mark doesnt come and the diagrams stops saving.

Link fro discussion in sirius forum :
https://www.eclipse.org/forums/index.php/m/1821603/#msg_1821603
Comment 1 Pierre-Charles David CLA 2020-02-18 09:46:30 EST
I'm sorry but there is not enough information for us to help you. The screenshot gives us no information about what your .odesign does / how the properties view is configured.

I'm not even sure what you mean by "properties sheet that will not save some time." Saving is not invoked from the property sheet.

What does "the diagrams stop saving" mean? What operation do you actually perform and what happens concretely?

Without clear reproduction steps, ideally a sample modeler which exhibits the issue, we can not do much.
Comment 2 Pratiksha Dalal CLA 2020-02-24 12:13:08 EST
Created attachment 281912 [details]
I have added a sample project where I have attached sample project I have kept com.algoshack.algoprofiler.algoIQ package and generated code in base eclipse and com.algoshack.algoprofiler.algoIQ.design

I have added a sample project where I have attached sample project
I have kept com.algoshack.algoprofiler.algoIQ package and generated code in base eclipse and com.algoshack.algoprofiler.algoIQ.design in runtime eclipse 

Test is the project in which I have added the model

Steps to reproduce issue :

Open test project

Click on green button 

Select notify me which is an option in the properties page.
Properties page occurs when you will select search image on canvas. 

The title bar should show star mark and I should be able to save the state.
But star mark does not come and when I close and relaunch eclipse the state doesnot save and I loose my work
Comment 3 Pratiksha Dalal CLA 2020-03-02 01:10:34 EST
Hi 

Please can anybody help me with this?
Comment 4 Pierre-Charles David CLA 2020-03-02 03:21:19 EST
Hi,

I'm sorry but I can't reproduce.

> Open test project

OK. When I open the "test" diagram from the sample project, I see a single blue "search1" element.

> Click on green button

I don't know which one you refer to. I tried the "Test Case Generation" in the main Eclipse toolbar. It does not seem to do anything. I tried the "Generate Test Cases" one inside the diagram's toolbar: it opens a dialog (maybe from Sirius itself) telling me "Models from project have been modified. Save changes?". Whichever option I select, nothing visible happens.

> Select notify me which is an option in the properties page.

When I click on the checkbox, nothingh happens. It does not become "checked".

> Properties page occurs when you will select search image on canvas.

The properties page for the "search1" element stays almost empty, with just the "Notify me" checkbox (still unchecked).

I don't see anything that looks like the "Mandatory Home Group" or "Product Catalogue" section visible on your screenshot. But I guess these can only appear when a "Product Catalogue" is selected, and I can not figure out how to create one.

> The title bar should show star mark and I should be able to save the state.
> But star mark does not come and when I close and relaunch eclipse the state doesnot save and I loose my work

I'd like to help, but my guess is that the full application you are using does some non-standard operations which are not visible in the sample you provided.

I understand that you can not provide us your complete application, especially on a public web site, but with just the subset of the application you attached I can not reproduce the issue so can not provide help.
Comment 5 Pierre-Charles David CLA 2020-05-05 11:26:41 EDT
Any news/more details?
Comment 6 Pierre-Charles David CLA 2020-08-07 10:47:22 EDT
Closing in the absence of more details on which we could act.