Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

"You cannot have two engine modes with the same name" blocks UI
GreenMoose
#1 Posted : Thursday, June 15, 2017 11:05:47 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
[3.9.0.1]
Scenario:
1) Create an engine mode "Foo", shared with team, this file is "committed" to scc.
2) You realize "Foo" should be local, mark it "for this solution, mine". Notice .ncrunchsolution gets "Foo" removed.
3) Close solution, re-add engine mode from scc by reverting pending change (i.e. you now have 1 Foo in .ncrunchsolution and 1 Foo in .ncrunchsolution.user).
4) Reopen solution, notice you have 2 identical engine modes.
5) Edit engine modes, whatever you try to do, Add/Remove/Cancel all actions results in below message box and you can't easily make it close.

Code:
---------------------------
Engine Modes
---------------------------
You cannot have two engine modes with the same name
---------------------------
OK   
---------------------------



(I finally got away from it by killing my ncrunch processes).

*Edit: The reason I got here was I wanted 1 shared engine mode, but override this locally with setting "Pin new tests automatically" set to true, which IMHO is more of a user setting than a team setting. But I realized, due to above, I cannot do this without copying engine mode and naming it differently. d.s.
Remco
#2 Posted : Thursday, June 15, 2017 11:57:27 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for sharing this problem.

This is a terrible UI experience. Sorry about this. I'll see that it gets fixed.
1 user thanked Remco for this useful post.
GreenMoose on 6/15/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download