nicer error when renaming to existing name

Ticket

nicer error when renaming to existing name+status
nicer error when renaming to existing name+priority
nicer error when renaming to existing name+tag
nicer error when renaming to existing name+commit
 

 

 

nicer error when renaming to existing name+example

Rename this to "test card foo" ...

 

and you get:

 

notice = getNextElement(getSlotFromContext('main_1_8_1'),'notice'); notice.update('

Rats. Issue with TEST CARD FOO card:</h2>

NAME: must be unique-- A card named \'test card foo\' already exists</p></div>')

Rats. Issue with TEST CARD FOO card:

NAME: must be unique-- A card named 'test card foo' already exists

 

I didn't get that error.  It's not awesome, but... we'll get this in the internationalization sweep.  closing.