U4-11352 - Approved color adds extra "#" when trying to save

Created by Karl Tynan 18 May 2018, 13:44:58 Updated by Jan Skovgaard 11 Jul 2018, 17:35:08

Is duplicated by: U4-11359

Subtask of: U4-11510

When adding a new color to an approved color datatype, it adds an additional "#" before the colour (so "#FFFFFF" becomes "##FFFFFF") and there is an error when trying to save: "Validation: The value #FFFFFF is not a valid hex color".

Black (or #000000) is accepted on first setup as it is the default value.

My guess is it is expecting the hex without the leading "#".

I am using Umbraco 7.10.4

2 Attachments

Comments

Damien 18 May 2018, 13:55:28

Can confirm this is also in 7.9.2


Nemanja Stankovic 23 May 2018, 06:51:07

Hi @Karl.Tynan @dpuddifoot,

Do you know how to override this directly from the database until this bug is officially resolved?

Thanks.

Cheers, Nemanja.


Karl Tynan 29 May 2018, 08:23:37

We had tried to edit the prevalues in the DB but it wasn't updating in the backoffice as expected.

Thanks, Karl


Nemanja Stankovic 29 May 2018, 08:33:19

Yes, @karltynan, I had the same issue, that's why I asked.

This is an unpleasent situation where your hand are completely tied. We'll just have to wait for the update.

Cheers, Nemanja.


Priority: Normal

Type: Bug

State: Open

Assignee:

Difficulty:

Category:

Backwards Compatible: False

Fix Submitted:

Affected versions: 7.9.2, 7.10.4

Due in version:

Sprint:

Story Points:

Cycle: