PR# 19339 Execution Parameters are wiped out after restarting EiffelStudio

Problem Report Summary
Submitter: gobobe
Category: EiffelStudio
Priority: Medium
Date: 2017/03/10
Class: Bug
Severity: Serious
Number: 19339
Release: 17.01
Confidential: No
Status: Closed
Responsible: jfiat_es
Environment: win
Synopsis: Execution Parameters are wiped out after restarting EiffelStudio

Description
Each time I exit EiffelStudio and restart it, I lose my Execution Parameters.
It's a pain to have to enter them again and again.

--
Eric Bezault
To Reproduce

										
Problem Report Interactions
From:jfiat_es    Date:2017/06/26    Status: Closed    Download   
This issue with ecf without any uuid set is fixed by revision rev#100546 .

From:gobobe    Date:2017/03/13    Status: Analyzed    Download   
No recompilation from scratch in my case. Only exiting EiffelStudio and restarting it (and perhaps some incremental compilations).

--
Eric Bezault

From:manus_eiffel    Date:2017/03/13    Status: Analyzed    Download   
A new UUID is generated, if none is specified, when recompiling from scratch, not if you retrieve an existing project. It is not clear from your last message which case falls into your situation. Could you clarify?

From:gobobe    Date:2017/03/10    Status: Analyzed    Download   
I see many of these files "${system_uuid}.${target_name}.dg.profiles.xml", sometimes several per days, with different ${system_uuid} values.
And they contain my Execution Parameters.

Now I realize that my ECF has no UUID. So apparently EiffelStudio creates a new one behind the scene each time.
I don't remember having this issue with previous versions of EiffelStudio.

I added a uuid to my ECF and now it works.

--
Eric Bezault

From:jfiat_es    Date:2017/03/10    Status: Analyzed    Download   
The execution parameters should be saved into the folder
%LOCALAPPDATA%\Eiffel Software\.es\17.01\session
in a file named  "${system_uuid}.${target_name}.dg.profiles.xml"

Can you check if there is any permission issue?

From:alexk_es    Date:2017/03/10    Status: Analyzed    Download   
Do you know if there are any specific differences between installations on the machines:
- Windows version
- ISE environment variables and/or registry keys
- user permissions
- a non-standard user directory
- an installation or a project path with/without spaces
?

From:gobobe    Date:2017/03/10    Status: Analyzed    Download   
It's with 17.01.9.9700. It's when I exit normally (no crash).
It only happens on my home computer. it works as expected at work.

--
Eric Bezault

From:alexk_es    Date:2017/03/10    Status: Analyzed    Download   
Is it 17.01 or a previous version? I'm using 17.01.9.9700 and the parameters are saved as expected. Or, does it happen when EiffelStudio crashes?

In a previous version of EiffelStudio there was indeed a regression that caused loosing some execution parameters, but it was fixed in 17.01.