ms-structural / ms-structural/femdesign-api

Having multiple versions of FEM-Design opened falsely throws error

Open Beginner friendly
#292 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

framework:c# priority:later type:bug
Dominant language
C#
Stars
51
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Error FEM-Design 21 - 3D Structure must be running! Start FEM-Design 21 - 3D Structure and reload script. when having both FEM-Design 21 and FEM-Design 20 (or other) opened.

The FemDesign.Calculate.Application only looks at the first process and throws an error if it is not the correct version, while it should find if any process is the correct one and use that file path
https://github.com/strusoft/femdesign-api/blob/da7133bb76b93b155f9a5b3a1aad4ba20dbf16f6/FemDesign.Core/Calculate/Application.cs#L43-L49

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in FemDesign.Core/Calculate/Application.cs at the linked lines and inspect how running FEM-Design processes are selected. Reproduce the case with FEM-Design 21 and 20 open, then verify that the correct-version process is found and its file path is used without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.