No field type in field type selectbox after module enabling.

Comments

divined created an issue. See original summary.

daiwik.addweb’s picture

It's working proper at my side and i can see "Color" field. Please clear drupal cache or install module once again and check.

divined’s picture

drupal module:install clearing the cache. Tested on Drupal 8.1.9.

juagarc4’s picture

I can confirm it.
The module doesn't work with Drupal 8.2.1

zuernBernhard’s picture

The module is far from being compatible with 8.2 :( see https://www.drupal.org/docs/8/creating-custom-modules/create-a-custom-fi...

juagarc4’s picture

Not at all.
I have used the version 8.x-2.x-dev of the module today and it works fine.
At the time to write this message the module is still working without errors.
I will report problems if they come.

zuernBernhard’s picture

Yes you are right. I installed color_field with composer and used "@dev" as version constraint. Thats why my module versions was in fact very old. Now with

composer require drupal/color_field "2.x-dev"

It works like a charm on Drupal 8.2

glass.dimly’s picture

Same problem with Drupal 8.3.3. After upgrading to dev, now I can add fields of type `Color`.

Tunprog’s picture

Same issue for me :( in Drupal 8.3.5
The dev version worked:

composer require drupal/color_field "2.x-dev"

thanks @zuernBernhard

legolasbo’s picture

Status: Active » Reviewed & tested by the community

Maybe it's about time for a new release of this module so people don't have to depend on dev versions?

heddn’s picture

Version: 8.x-2.0-rc1 » 8.x-2.x-dev
Status: Reviewed & tested by the community » Active

There's no patch here. Back to active.

legolasbo’s picture

Category: Bug report » Support request
Status: Active » Reviewed & tested by the community

Please read the thread @heddn.

The problem has already been fixed in the latest dev, but the fix is not part of the current "stable" 8.x-2.x version. This means that the latest stable version is completely broken and a new stable version needs to be tagged to fix that.

bmcclure’s picture

Composer pulls nearly the same code for 2.x-dev and 2.0@rc when I try, both of which haven't been updated since April and don't show any field types for me. When I diff them, the only changes are meta information injected by Drupal.org.

This is confirmed on the project page which indicates the RC was released more recently than the most recent commit on the commits page, which was from April.

Is there newer code somewhere that I'm just not seeing, or is the cause of my issue perhaps different than this one?

bmcclure’s picture

Scratch that, had a problem with cache clearing not working, the field type works fine for me now.

However, since the code in the current RC matches the code on dev, and has for ~5 months, are people still running into an issue with the RC version, or can this be marked fixed?

websiteworkspace’s picture

Seeing the same problem ...

The color field is not showing in the add field selection dropdown.
Clear cache, restarted browser, but still no color field type available.

Same problem in two different site installations ...

MrPaulDriver’s picture

Confirm dev works but RC2 does not

NickDickinsonWilde’s picture

Dev === RC2 per commit/tag.
However, if my visual review is wrong, all that needs to happen is a new release made. So, I'm going to reach out to Tagoo and see if we can't get at least the RTBC tickets merged and a new release.

NickDickinsonWilde’s picture

Status: Reviewed & tested by the community » Fixed

I'm marking this as fixed. If anyone gets it happening again with latest dev or a version released May 16th 2018 or later, please re-open.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Anonymous’s picture

Im new to drupal, but i did everything as told to. can anyone confirm that its working on Drupal 8.6.3? not working for me..