Project

General

Profile

Actions

Support Request #17336

closed

Renaming the session does not rename the .adtfsession file in Session Editor

Added by hidden about 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::CE
FAQ Links:

Description

Hi,

Discovered the following. (Open the ADTF examples project to reproduce)

Renaming a session in the “Sessions” view just renames the session in the .adtfproject file. The session name in the .adtfsession file stays the same.
Now all the tools take the name of the session from the .adtfsession file.
  • GUI-Control
  • Session Editor
  • Qt Xsystem service (guess comes via ADTF launcher)

Consequence: Renaming leads to high inconsistency. There seems to be no option to rename the name of the session in the .adtfsession file. The inconsistency can be also inspected with adtf_example_project.adtfproject in ADTF 3.14. Obviously someone renamed the session name in the Sessions view and additionally moved the .adtfsession file but did not change the session name in the .adtfsession file.

Suggestion to fix:
  • Avoid this inconsistency in the adtf_examples project
  • In Display Toolbox Example Project eliminate the Streaming Graph
Suggestion to improve:
  • Renaming a session should rename it in both files the .adtfproject and the .adtfsession file
  • Ideally also the name of the .adtfsession file and the session directory should be changed

Concerning the session directory there is a further inconsistency:

In the examples projects each of the .adtf_session files are in a session directory of the same name, where we also find graph and system files.

However when I create a new session “test” from the “Sessions” view the test.adtfsession file is created directly in the “adtfsessions” folder. When I run the ADTF launcher additionally
  • a folder “test” in “adtfsessions” is created that is parallel to the test.adtfsession file.
  • a file “test.adtfuilayout” parallel to test.adtfsession is created.

The “test” folder will always stay empty. When I create a new project the default session and the default graph will also stay in the adtfsessions directory of the project. There is no default_session subdirectory.

Not sure what the expected behaviour should be but maybe could make sense that the Configuration Editor (when creating a new session or project) creates for the session a session directory of the same name inside the “adtfsessions” folder and places the .adtfsession file there.

Lösung

Bug Ticket created:
  • [ACORE-11507] - Renaming an adtfsession, adtfgraph or adtfsystem file does not automatically update name in Session Editor

Files

Actions

Also available in: Atom PDF