Account created on 10 August 2020, over 4 years ago
  • Web Developer at iOΒ 
#

Merge Requests

More

Recent comments

πŸ‡§πŸ‡ͺBelgium mauro_

@victonator I've not encountered the issue with the wrapper so far on 10.3, but I don't think I have forms that load through AJAX wrapper.

If I understand the issue correctly the form is what requires a session and not ajax wrapper? If so, the session should probably be initiated somewhere in the form and not in AJAX wrapper. Correct me if I'm wrong though :)

πŸ‡§πŸ‡ͺBelgium mauro_

New patch with correct path for the library

πŸ‡§πŸ‡ͺBelgium mauro_

New patch with correct path for the library

πŸ‡§πŸ‡ͺBelgium mauro_

Here's the patch against the dev branch

πŸ‡§πŸ‡ͺBelgium mauro_

mauro_ β†’ changed the visibility of the branch 3472262-using-composer-to to hidden.

πŸ‡§πŸ‡ͺBelgium mauro_

Merged a fix into dev branch - will be in a following release

πŸ‡§πŸ‡ͺBelgium mauro_

Support has been added in version alpha-2. Any bug reports regarding this issue should create a new ticket and reference this one.

πŸ‡§πŸ‡ͺBelgium mauro_

This isn't an issue anymore with the latest alpha release

πŸ‡§πŸ‡ͺBelgium mauro_

Closing this as we're working on a stable tailwind release that contains the "iob-" prefix.

πŸ‡§πŸ‡ͺBelgium mauro_

I agree with Jelle_S and I think the solution of #10 seems adequate. Thanks!

Here's a patch for anyone who needs to upgrade quickly:

πŸ‡§πŸ‡ͺBelgium mauro_

Included into 1.1.0-alpha1

πŸ‡§πŸ‡ͺBelgium mauro_

Included into 1.1.0-alpha1

πŸ‡§πŸ‡ͺBelgium mauro_

Mauro_ β†’ made their first commit to this issue’s fork.

πŸ‡§πŸ‡ͺBelgium mauro_

Drupal 10 patch no longer required for 1.0.x. I will create a release soon

πŸ‡§πŸ‡ͺBelgium mauro_

Patch from #3 was fine but I added a type hint to the comment. Here's an updated patch.

πŸ‡§πŸ‡ͺBelgium mauro_

Mauro_ β†’ made their first commit to this issue’s fork.

πŸ‡§πŸ‡ͺBelgium mauro_

I am having the same issue when using the media browser. I can upload images on the media page but not on a page through the media browser modal.

πŸ‡§πŸ‡ͺBelgium mauro_

Patching the issue with #7 does work.
However, this means the prepare form hook isn't invoked anymore. Maybe a better solution would be to patch the menu_ui core module to implement EntityInterface in its function arguments and then check with an if statement wether the entity implements NodeInterface.

πŸ‡§πŸ‡ͺBelgium mauro_

It seems my previous patch didn't apply correctly. I have refactored and tested it against de dev release and it seems to be working now. I have tested adding, moving, editing and deleting paragraphs and I have encountered no other issues.

πŸ‡§πŸ‡ͺBelgium mauro_

After upgrading to D10, I'm getting following error when trying to edit a paragraph with a single text field in a field group with the patch above applied.

/io-builder/entity/form?_wrapper_format=drupal_ajax&bundle=text&entity_type=paragraph&io_builder_context_id=io_builder_entity_context&language=nl&revision_id=293&view_mode=default

Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Input value "io_builder_context_tree" contains a non-scalar value. in Symfony\Component\HttpKernel\HttpKernel->handle() (regel 81 van /app/htdocs/vendor/symfony/http-kernel/HttpKernel.php).

The error seems to be caused by line 378 of IoBuilderController.php (IoBuilderController::getIoBuilderContextTreeFromRequest) and was fixed for me by removing the extra request object on the request variable.

I've added a commit to the MR and a new patch to this issue.

πŸ‡§πŸ‡ͺBelgium mauro_

Mauro_ β†’ made their first commit to this issue’s fork.

πŸ‡§πŸ‡ͺBelgium mauro_

After upgrading, clearing caches/restarting apache was not enough. I had to uninstall and reinstall the module

πŸ‡§πŸ‡ͺBelgium mauro_

@JasonLuttrell there is a command included into Drush with this functionality, I would recommend using that instead: https://www.drush.org/11.x/commands/entity_delete/

πŸ‡§πŸ‡ͺBelgium mauro_

Automated patch #2 seems to work fine. Note that line 74-75 of src/Utility/AjaxCallbackUtility rely on "_serviceId", which is not added automagically on objects anymore as per https://www.drupal.org/node/3292540 β†’ . This shouldn't cause issues and if it does it should probably be solved in the code extending on this module

Production build 0.71.5 2024