Account created on 1 August 2008, over 16 years ago
#

Merge Requests

Recent comments

🇳🇿New Zealand somatick

Patch attached which separates the condition into two conditions in the template

🇳🇿New Zealand somatick

Oops I didn't notice the .txt extension when I saved locally. Same patch

🇳🇿New Zealand somatick

Patch attached which adds current display to the container class name

🇳🇿New Zealand somatick

See attached patch.

It did not appear to be possible to disable a view in a normal install hook, the suggested approach was to use hook_install_tasks from the profile itself

🇳🇿New Zealand somatick

After further discussion it was decided to disable the publish and unpublish actions on the content audit view by default

> I am happy for now to remove the publish un-publish ones from the content audit completely. That is definitely a workflow task! The audit is more for transparence, decision making, and tagging ...

The latest patch includes the above fix as well as the removal of the publish/unpublish options

🇳🇿New Zealand somatick

Ok phew patch #4 applied.

The view now appears to be working, but testing some of the individual actions there are some other issues/strange interactions exposed.

Using the 'Modify field values' action, produces an error from the rabbit hole module, which could be related to this issue:
https://www.drupal.org/project/rabbit_hole/issues/3383171 🐛 Error: Call to undefined method Drupal\entity_browser\Form\EntityBrowserForm::getEntity() Needs review
Rabbit hole is required by the main sector project so if it is to be patched or updated will likely need to be done there.

Also choosing a publish or unpublish action if content moderation is enabled fails and produces a message "Cannot directly (un)publish moderated entities" - which comes from core, however there don't seem to be any suitable actions available for modifying the status of moderable entities.

🇳🇿New Zealand somatick

Sheesh. I think the encoding was bung with that one. Third time's the charm.

🇳🇿New Zealand somatick

Pasted too hastily and missed a line, use this patch.

Production build 0.71.5 2024