Hello,

The custom 'Message text' handler was broken in my Drupal 8.3.2 installation.

I've found that if i rename the 'src/Plugin/Views' folder, where the field handler is located, to 'src/Plugin/views' and clear all cache, the handler is then correctly found.

I can't tell if my server configuration has something to do with this problem but it might help someone.

(Hope it's clear, english is not my native language :) )

CommentFileSizeAuthor
#4 message-2876927-4.patch2.72 KBrvillan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jojo1028 created an issue. See original summary.

bendev’s picture

nice catch, this solves the issue for me as well.

bendev’s picture

Status: Active » Needs work
rvillan’s picture

FileSize
2.72 KB

Here's a patch for that.

Martijn de Wit’s picture

@rvillan are you sure this patch is for fixing this issue? It seems a total new file you are generating in your patch.

I thought the issue can be find in the GetText.php file. where is says:
namespace Drupal\message\Plugin\views\field; as @jojo1028 mentioned the name of the Views plugin directory should be made lowercase.

Martijn de Wit’s picture

sry wrong copy/paste....

Martijn de Wit’s picture

kerasai’s picture

I've added a patch for this issue on #2891680-14: Incorrect Directory Placement for Views Plugin.

I think we can close this as a duplicate.

bluegeek9’s picture

Status: Needs work » Closed (duplicate)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support to this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.
  • Writing blog posts or speaking about it at conferences.
Martijn de Wit’s picture