πŸ‡΅πŸ‡­Philippines @iaacristobal

Manila
Account created on 10 October 2022, over 1 year ago
#

Recent comments

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

https://imgur.com/a/8b1n06o

I only have one workflow. The error happens regardless if i rebuild permissions or not as well.

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

Okay so, i can't apply the patch file again for some reason, both in dev and in current 8.x, so i cloned the 8.x-1.x branch to my test environment, but i am now encountering a new problem:

TypeError: Drupal\Core\Field\WidgetBase::errorElement(): Argument #1 ($element) must be of type array, null given, called in /var/www/html/web/core/lib/Drupal/Core/Field/WidgetBase.php on line 580 in Drupal\Core\Field\WidgetBase->errorElement() (line 646 of core/lib/Drupal/Core/Field/WidgetBase.php).

This error happens as when creating a node or updating a node using the "To state" field found in the manage form display section

I setup a new user for this as well to test if it is an admin-only problem but the same problem exists.

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

This happens on an existing installation, for additional info, the install is ported from Drupal 7 to Drupal 10

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

#15 - I am yet to test the patch in #11 as it is currently an awkward time in my country to test right now, i will be back with a proper result for later

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

Additionally, i also noticed this. The states are redundant, we have one on the "Edit" tab (How to show the available states), and also one on the "Manage form display tab" (To state). When the "To state" field is shown, It's the one who throws the error i have described in the title. But when i disable it, the states from the "Edit" tab show, but saving the node will throw the following errors:

Warning: Undefined array key 0 in Drupal\workflow\Element\WorkflowTransitionElement::copyFormValuesToTransition() (line 356 of modules/contrib/workflow/src/Element/WorkflowTransitionElement.php).

Warning: Trying to access array offset on value of type null in Drupal\workflow\Element\WorkflowTransitionElement::copyFormValuesToTransition() (line 356 of modules/contrib/workflow/src/Element/WorkflowTransitionElement.php).

Error: content [node id] has no workflow attached. The data is not saved.

This value should not be null.

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

I'm encountering an issue applying the patch. It's returning this error on my end:

patch: **** Only garbage was found in the patch input.

   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2024-06-07/workflow_3452716_8_undefined_key.patch

I applied this using composer-patches.

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

I'm encountering an issue applying the patch. It's returning this error on my end:

patch: **** Only garbage was found in the patch input.

   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2024-06-07/workflow_3452716_8_undefined_key.patch

I applied this using composer-patches.

πŸ‡΅πŸ‡­Philippines iaacristobal Manila

I just tested the latest field_encrypt-3421958 branch and the Encryption checkboxes still do not display on my end. I am using the latest Drupal version to date (10.2.5)

Production build 0.69.0 2024