Skip to content

fix #611 No longer possible to open a model with a not-active domain of expertise#1454

Merged
rdevoogtatstariongroup merged 2 commits into
developmentfrom
feat/gh611-OpeningModelNonActiveDomain
Jun 29, 2026
Merged

fix #611 No longer possible to open a model with a not-active domain of expertise#1454
rdevoogtatstariongroup merged 2 commits into
developmentfrom
feat/gh611-OpeningModelNonActiveDomain

Conversation

@rdevoogtatstariongroup

Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the COMET-IME code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Fix #611
It is no longer possible to open an engineering model under a domain of expertise that isn't valid for that model. Previously the "Open"/double-click path auto-selected a domain (the active person's default, falling back to the first assigned one) without checking it was both assigned to the participant and still active in the model, so a user whose default domain had been de-activated would open the model into an unusable state where nothing could be owned or edited.

Now the selectable domains are restricted to participant.Domain and EngineeringModelSetup.ActiveDomain: the model opens directly only when the default domain is valid, routes to the iteration-selection screen when another usable domain exists, and is blocked with a clear message when the user has no active domain at all.

Comment thread CDP4ShellDialogs/ViewModels/ModelOpeningDialogViewModel.cs Outdated
No lo0nger possible to open a model with a not-active domain of expertise
@rdevoogtatstariongroup
rdevoogtatstariongroup force-pushed the feat/gh611-OpeningModelNonActiveDomain branch from c938e29 to eb6ba3a Compare June 29, 2026 14:57
@rdevoogtatstariongroup
rdevoogtatstariongroup merged commit 966f76a into development Jun 29, 2026
2 checks passed
@rdevoogtatstariongroup
rdevoogtatstariongroup deleted the feat/gh611-OpeningModelNonActiveDomain branch June 29, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IME open model in iteration selection dialog - opening model as non-active domain should not be allowed

2 participants