Here's the patch
mauro_ β created an issue. See original summary β .
@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 :)
New patch with correct path for the library
New patch with correct path for the library
Here's the patch against the dev branch
mauro_ β changed the visibility of the branch 3472262-using-composer-to to hidden.
mauro_ β created an issue.
Merged a fix into dev branch - will be in a following release
Mauro_ β created an issue.
Support has been added in version alpha-2. Any bug reports regarding this issue should create a new ticket and reference this one.
This isn't an issue anymore with the latest alpha release
Closing this as we're working on a stable tailwind release that contains the "iob-" prefix.
Mauro_ β created an issue. See original summary β .
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:
Included into 1.1.0-alpha1
Included into 1.1.0-alpha1
Mauro_ β made their first commit to this issueβs fork.
Drupal 10 patch no longer required for 1.0.x. I will create a release soon
Mauro_ β created an issue.
Patch from #3 was fine but I added a type hint to the comment. Here's an updated patch.
Mauro_ β made their first commit to this issueβs fork.
Here's a patch
Mauro_ β created an issue.
Here's the patch:
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.
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.
Patch added from merge request
Mauro_ β created an issue.
Mauro_ β created an issue.
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.
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.
Mauro_ β made their first commit to this issueβs fork.
Mauro_ β created an issue.
After upgrading, clearing caches/restarting apache was not enough. I had to uninstall and reinstall the module
@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/
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