ansys / ansys-templates

A tool for creating new projects according to Ansys guidelines
https://templates.ansys.com
MIT License
11 stars 4 forks source link

Bug located in solution created using ansys-templates 4.0.0: When user opens an existing project or creates a new project, wrong step is getting rendered in solution UI #510

Open PranayChalke opened 1 month ago

PranayChalke commented 1 month ago

🔍 Before submitting the issue

🐞 Description of the bug

When a user creates a new project or opens an existing project, then the solution UI is rendering the step which was opened by the user in the previous project.

📝 Steps to reproduce

  1. Install the ansys-templates version 4.0.0 (latest).
  2. Create a new solution with default dash UI.
  3. Install toml and packaging, then create the virtual environment.
  4. Activate the virtual environment and execute saf run command to run the solution.
  5. Create a new project, navigate to First step or Second step of that project and click Back to Projects. icon to return to the Portal UI.
  6. Create another new project and you will observe that About step is shown selected in the Navigation tree but solution UI has rendered First step or Second step whichever you have opened in the last project.

💻 Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.10

📦 Installed packages

aiofiles==23.2.1
aiohappyeyeballs==2.4.3
aiohttp==3.10.9
aiomysql==0.2.0
aioshutil==1.5
aiosignal==1.3.1
aiosqlite==0.19.0
alabaster==0.7.16
altgraph==0.17.4
annotated-types==0.7.0
ansys-api-platform-instancemanagement==1.1.0
ansys-bdm-api==0.1.dev15
ansys-bdm-shared-volume==0.1.dev11
ansys-platform-instancemanagement==1.1.2
ansys-saf-desktop==1.2.1
ansys-saf-glow-engine==1.13.0
ansys-saf-portal==1.1.2.dev0
ansys-saf-product-configuration==0.1.dev20
ansys-solutions-dash-super-components==0.1.dev0
# Editable install with no version control (ansys-solutions-test-bug-fix-1361==0.1.dev0)
-e c:\users\pchalke\portal\test-bug-fix-1361
ansys-sphinx-theme==0.8.2
anyio==4.6.0
ariadne==0.23.0
asgiref==3.8.1
async-timeout==4.0.3
asyncpg==0.29.0
attrs==24.2.0
autodoc_pydantic==2.2.0
babel==2.16.0
backoff==2.2.1
backports.tarfile==1.2.0
beautifulsoup4==4.12.3
black==24.1.1
blinker==1.8.2
bottle==0.13.1
bson==0.5.10
build==0.8.0
cachelib==0.9.0
cachetools==5.5.0
certifi==2024.8.30
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.0
click==8.1.7
clr-loader==0.2.6
codespell==2.2.6
colorama==0.4.6
coverage==6.5.0
cryptography==42.0.8
dash==2.18.1
dash-bootstrap-components==1.6.0
dash-core-components==2.0.0
dash-extensions==1.0.18
dash-html-components==2.0.0
dash-iconify==0.1.2
dash-mantine-components==0.12.1
dash-table==5.0.0
dash_ag_grid==31.2.0
dash_uploader==0.6.1
dataclass-wizard==0.22.3
debugpy==1.8.6
Deprecated==1.2.14
distlib==0.3.8
docutils==0.19
EditorConfig==0.12.4
exceptiongroup==1.2.2
execnet==2.1.1
fastapi==0.110.3
filelock==3.16.1
flake8==7.0.0
Flask==3.0.3
Flask-Caching==2.3.0
frozenlist==1.4.1
googleapis-common-protos==1.65.0
gql==3.5.0
graphql-core==3.2.4
greenlet==3.1.1
grpcio==1.66.2
grpcio-health-checking==1.48.2
h11==0.14.0
httpcore==1.0.6
httpx==0.26.0
idna==3.10
imagesize==1.4.1
importlib_metadata==8.4.0
iniconfig==2.0.0
isort==5.13.2
itsdangerous==2.2.0
jaraco.classes==3.4.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
Jinja2==3.1.4
jsbeautifier==1.15.1
keyring==25.4.1
markdown-it-py==3.0.0
MarkupSafe==3.0.1
mccabe==0.7.0
mdurl==0.1.2
mistune==2.0.5
mock==4.0.3
more-itertools==10.5.0
multidict==6.1.0
mypy-extensions==1.0.0
nest-asyncio==1.6.0
networkx==3.3
nh3==0.2.18
numpy==2.1.2
numpydoc==1.6.0
oauthlib==3.2.2
opentelemetry-api==1.27.0
opentelemetry-exporter-otlp==1.27.0
opentelemetry-exporter-otlp-proto-common==1.27.0
opentelemetry-exporter-otlp-proto-grpc==1.27.0
opentelemetry-exporter-otlp-proto-http==1.27.0
opentelemetry-instrumentation==0.48b0
opentelemetry-instrumentation-asgi==0.48b0
opentelemetry-instrumentation-fastapi==0.48b0
opentelemetry-instrumentation-flask==0.48b0
opentelemetry-instrumentation-httpx==0.48b0
opentelemetry-instrumentation-logging==0.48b0
opentelemetry-instrumentation-wsgi==0.48b0
opentelemetry-proto==1.27.0
opentelemetry-sdk==1.27.0
opentelemetry-semantic-conventions==0.48b0
opentelemetry-util-http==0.48b0
packaging==24.1
pandas==2.2.3
pathspec==0.12.1
pefile==2024.8.26
pep517==0.13.1
pep8==1.7.1
pkginfo==1.10.0
platformdirs==4.3.6
plotly==5.24.1
pluggy==1.5.0
propcache==0.2.0
protobuf==3.20.3
proxy_tools==0.1.0
psutil==5.9.8
pycodestyle==2.11.1
pycparser==2.22
pydantic==2.9.2
pydantic-settings==2.5.2
pydantic_core==2.23.4
pydata-sphinx-theme==0.9.0
pydocstyle==6.3.0
pyflakes==3.2.0
Pygments==2.18.0
pyinstaller==6.10.0
pyinstaller-hooks-contrib==2024.8
PyMySQL==1.1.1
pyproject-api==1.8.0
pyshortcuts==1.9.1
pytest==7.4.4
pytest-cache==1.0
pytest-cov==3.0.0
pytest-dependency==0.5.1
pytest-flakes==4.0.5
pytest-mock==3.14.0
pytest-pep8==1.0.6
pytest-pythonpath==0.7.3
pytest-xdist==3.6.1
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-json-logger==2.0.7
python-multipart==0.0.9
pythonnet==3.0.4
pytz==2024.2
pywebview==4.4.1
pywin32==307
pywin32-ctypes==0.2.3
PyYAML==6.0.2
readme_renderer==43.0
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
retrying==1.3.4
rfc3986==2.0.0
rich==13.9.2
ruff==0.4.10
six==1.16.0
sniffio==1.3.1
snowballstemmer==2.2.0
soupsieve==2.6
Sphinx==5.1.0
sphinx-code-tabs==0.5.5
sphinx-copybutton==0.5.2
sphinx-gallery==0.11.1
sphinx-tabs==3.4.7
sphinx_design==0.3.0
sphinx_mdinclude==0.5.4
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
SQLAlchemy==2.0.35
starlette==0.37.2
tabulate==0.9.0
tenacity==9.0.0
toml==0.10.2
tomli==2.0.2
tox==4.21.2
twine==5.1.1
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
uvicorn==0.24.0.post1
virtualenv==20.26.6
Werkzeug==3.0.4
wrapt==1.16.0
wsproto==1.2.0
yarl==1.14.0
zipp==3.20.2
PranayChalke commented 1 month ago

@mayur-lankeshwar JFYI