?
Related to # 14427
avatar wronax
wronax
21 Mar 2017

Steps to reproduce the issue

  1. Go to /templates/protostar/templateDetails.xml
  2. Add rgba format attribute to the templateColor field (line 55)
    <field name="templateColor" class="" type="color" default="#08C" format="rgba"
  3. Go to Protostar default template style options
  4. Changed Template Colour and Save options

Expected result

Template Colour should be saved in rgba format.

Actual result

Template Colour is cleared (empty value).

System information (as much as possible)

Joomla!3.7.beta3 release

Additional comments

The color field was modified for J!3.7.x and now color validation seems to be applied automatically to this field type. However the color rule test function return true only for colors in HEX format while color field types allows to set colors in HEX, RGB and RGBA formats.

avatar wronax wronax - open - 21 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category Templates (site)
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Rel_Number 0 14427
Relation Type Related to
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Priority Medium Low
Status New Confirmed
avatar wronax
wronax - comment - 26 Apr 2017

This bug still persists in stable Joomla!3.7 version.

avatar marcorensch
marcorensch - comment - 3 May 2017

i can confimr i have the same issue with my module. Any solution or workaround would be nice.

avatar wronax
wronax - comment - 5 May 2017

I've fixed it by creating my own color field in our extension simply by copying and renaming the color field from Joomla!3.6.x, because I think it won't be repaired soon.

avatar marcorensch
marcorensch - comment - 5 May 2017

yep thats an easy solution...

avatar N6REJ
N6REJ - comment - 5 May 2017

What happen to the new color picker?

avatar marcorensch
marcorensch - comment - 6 May 2017

It does not take rgba values... u have to create a temp workaround as wronax mentioned

avatar Quy
Quy - comment - 25 May 2017

Relate PR #15754 ???

avatar Quy
Quy - comment - 26 May 2017

@franz-wohlkoenig Closed as having pr #15754.

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 May 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-05-26 14:37:35
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 26 May 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 26 May 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 26 May 2017

Add a Comment

Login with GitHub to post a comment