gaelicmichael β created an issue.
OK, thanks for your feedback. Yet another obscure problem with Drupal.
I've looked at the YML files in the exported TAR file and don't see any references to themes there. Nor can I find any references to the themes in any of the configuration of the new (migrated) website. The error must be triggered by some internal dependency that is not in the exported data itself.
gaelicmichael β created an issue.
Because it doesn't work, it triggers the error indicated by this excerpt from the error log:
Failed execution of Load Biblio item (Activity_1v2twte) from ECA Abstract / Presesentation Proposal: Pending Review (process_wgaz9kq) for event eca.content_entity.custom: Field field_manuscript_number does not exist for entity type node/hchs_abstract_presentation..\n\n#0 /var/www/html/testhchs/modules/contrib/eca/modules/content/src/Plugin/Action/LoadEntity.php(56): Drupal\eca_content\Plugin\Action\LoadEntityRef->doLoadEntity() #1 /var/www/html/testhchs/modules/contrib/eca/src/Entity/Objects/EcaAction.php(103): Drupal\eca_content\Plugin\Action\LoadEntity->access() #2 /var/www/html/testhchs/modules/contrib/eca/src/Processor.php(298): Drupal\eca\Entity\Objects\EcaAction->execute() #3
Yes, I have seen and noticed 'When using the "Defined by token
" option, make sure there is a token with this name: eca_token_load_entity_ref_from
' .
Is this what I need in principle but I need to rename the token
node as eca_token_load_entity_ref_from
? Or do I need a different setting on the configuration of Load entity from
? I don't see any information about this use case anywhere.
The ECA module is a really useful and versatile tool for enhancing functionality, but like much in the Drupal world, in desperate need of well-written documentation. After I get the functionality of my prototypes working, I do intend on writing something up for other people trying to figure it out.
Thank you
I can confirm that changing the Action to be entity aware does indeed fix the problem. Thanks for pointing that out, although some clear explanation of this issue is needed on the website.
There is one further issue on which I would appreciate guidance. After the Event listener gets triggered by the Custom Event, but before the email Action, I'd like to have an Action that does a LOAD VIA REFERENCE
, so that I can access the fields in a Content Item referred to in the field_manuscript_number
field in the token node
(which I know is being passed properly to the Triggered action).
I tried to configure the Action as follows, but it does not work. I assume that the Load entity from
setting is the problem. Given that this is an Action that is getting fired asynchronously, and maybe not be in the same context (??), I assumed that the setting should be set to Defined by token
, but that doesn't work. Neither does Current scope
. What should the settings be?
- ACTION - LOAD VIA REFERENCE "Load Biblio Item"
- Name of token: biblio
- Field name entity reference: field_manuscript_number
- Load entity from: Defined by token
- Entity type: Content
- Load latest revision: yes
- Entity: node
Thank you
Thank you for looking at the model.
I was unaware of different kinds of Custom Events. Where is "Entity-Aware" and the distinction between event types explained?
Sure -- here is the export file.
FYI, there is an Action in the Custom Event trigger sequence that I've bypassed and thus should not be active.
It's taken me a while to get to the point of trying to make this work, but I've followed guidance as best as I could, and I can't get it working.
I know that the Event and Conditions are triggering, because if I just send a single email to myself, it works. It breaks down somewhere thereafter, however.
Here is a list of the linear chain of Actions in the initial sequence, as well as the Event Listener (marked with a '+') that should be triggered by the Custom Event. What am I missing?
...
- ACTION - USER: SWITCH CURRENT ACCOUNT "Switch to User 1"
- User ID: 1
- ACTION - VIEWS: EXECUTE QUERY "List Pubs Committee Members"
- Name of token: userlist
- View: People
- Display: view_users_pubs_committee
- ACTION - TRIGGER A CUSTOM EVENT (ENTITY) "Trigger Event ..."
- Event ID: app_email_pubs_committee
- Tokens to forward: node
- Entity: userlist
+ EVENT: ECA CUSTOM EVENT (Entity-aware) "Listen to email Trigger"
- Event ID: app_email_pubs_committee
- ACTION: SEND MAIL "Email Committee Member"
- Recipient email address: [entity:mail]
- Subject: HCHS / SOL Pubs Cmte email review for the abstract related to [node:field_ab_abbr_title]
- Replace tokens: yes
- Message: ...
I have ensured that the display ID view_users_pubs_committee is what is shown in the View configuration at Advanced > Other > Machine name.
It is working now and the only thing that I changed was installing the Token module. This suggests that, contrary to the documentation, the Token module is actually required for the normal functionality to work.
I did read that webpage https://ecaguide.org/eca/concepts/tokens/ and did not find it very satisfying. It is not always clear and it is not complete. It is not sufficient to only discuss trivial examples, like the use of the title and mail fields. In real world settings, people are going to want to use the fields defined in their own Content Types.
In order to be useful, the documentation needs to discuss somewhere, whether on this page or another:
- How to use and refer to fields in custom Content Types, with real and non-trivial examples.
- How to access the fields in a Content Item that is referred to by an Entity Reference field (i.e., need to use the ENTITY: LOAD REFERENCE Action). Again, non-trivial and real world examples with clear explanations are needed.
I'm sorry if I sound frustrated, but I've spent two weeks trying to get ECA modules to work that should have been possible in less than a day.
I don't see any reference to a Token Browser on the Property Panel on the bpmn_io UI.
I have enabled all of the ECA modules that were installed by default. I do not see any mention of a Token Browser on this page:
https://www.drupal.org/project/eca/ β
Can you please be more specific?
In fact, I've just determined that the problem must just be the use of tokens.
The ENTITY: LOAD REFERENCE Action does seem to be working, but the custom fields in the loaded entity are not being rendered.
Let's say that the token for the loaded entity is entity_ctb
.
The token [entity_ctb:title]
does work but [entity_ctb:field_ctb_text]
does not. Why? This ought to be simple.
And as a side-note, I can't get even the value in a CT-specific field of the triggering node ("entity") to appear in the email.
The value [node:title]
does get rendered... but not [node:field_my_custom_name]
. Why??
Clear, explicit examples in documentation would be welcome.
gaelicmichael β created an issue.
Thanks very much for your response. I'll try this and let you know if it works -- although I may need to ask follow-up questions.
gaelicmichael β created an issue.
I'm not sure what you mean by "reduce the scope of the migration."
I am using the Migrate UI dashboard, which attempts a complete migration of all data -- there is no way to migrate selected assets.
I'm going to clear the DB and attempt again, but I won't install the BibCite modules and see if it makes any difference.
gaelicmichael β created an issue.
Only the top part of the error stack is repeated in my error log, so this may be an unrelated issue. I am trying to migrate a site from D7, as I said, and this is triggered during the process.
I'll try to find a better way to report the error.
I got this error (as reported in the error logs) when I was attempting to migrate a Drupal 7 site to Drupal 10.3.10.
The error log looks like this:
TypeError: strlen(): Argument #1 ($string) must be of type string, Drupal\Core\Link given in strlen() (line 395 of /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Unicode.php)
#0 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Unicode.php(395): strlen()
#1 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Xss.php(65): Drupal\Component\Utility\Unicode::validateUtf8()
#2 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Xss.php(123): Drupal\Component\Utility\Xss::filter()
#3 /var/www/html/hchs10/core/lib/Drupal/Core/Ajax/MessageCommand.php(127): Drupal\Component\Utility\Xss::filterAdmin()
#4 /var/www/html/hchs10/core/lib/Drupal/Core/Ajax/AjaxResponse.php(43): Drupal\Core\Ajax\MessageCommand->render()
#5 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipe.php(567): Drupal\Core\Ajax\AjaxResponse->addCommand()
#6 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipe.php(283): Drupal\big_pipe\Render\BigPipe->sendPlaceholders()
#7 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipeResponse.php(113): Drupal\big_pipe\Render\BigPipe->sendContent()
#8 /var/www/html/hchs10/vendor/symfony/http-foundation/Response.php(423): Drupal\big_pipe\Render\BigPipeResponse->sendContent()
#9 /var/www/html/hchs10/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#10 {main}
That looks correct to me.
#0 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Number.php(40): AcademicPuma\CiteProc\Number->ordinal()
#1 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Number->render()
#2 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#3 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#4 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#5 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#6 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#7 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#8 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#9 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#10 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#11 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#12 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#13 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Text->render()
#14 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#15 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#16 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#17 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#18 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#19 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#20 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#21 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#22 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#23 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#24 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Choose->render()
#25 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#26 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#27 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#28 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#29 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#30 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#31 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#32 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Choose->render()
#33 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#34 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#35 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#36 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#37 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#38 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Group->render()
#39 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Layout.php(42): AcademicPuma\CiteProc\Group->render()
#40 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Bibliography.php(54): AcademicPuma\CiteProc\Layout->render()
#41 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(110): AcademicPuma\CiteProc\Bibliography->render()
#42 /var/www/html/impact10/modules/contrib/bibcite/src/Plugin/BibCiteProcessor/CiteprocPhp.php(67): AcademicPuma\CiteProc\CiteProc->render()
#43 /var/www/html/impact10/modules/contrib/bibcite/src/CitationStyler.php(92): Drupal\bibcite\Plugin\BibCiteProcessor\CiteprocPhp->render()
#44 /var/www/html/impact10/modules/contrib/bibcite/bibcite.module(41): Drupal\bibcite\CitationStyler->render()
#45 [internal function]: bibcite_preprocess_bibcite_citation()
#46 /var/www/html/impact10/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
#47 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render()
#48 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#49 /var/www/html/impact10/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1198): Drupal\Core\Render\Renderer->render()
#50 /var/www/html/impact10/core/modules/views/views.theme.inc(238): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender()
#51 [internal function]: template_preprocess_views_view_field()
#52 /var/www/html/impact10/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
#53 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render()
#54 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#55 /var/www/html/impact10/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1790): Drupal\Core\Render\Renderer->render()
#56 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(765): Drupal\views\Plugin\views\field\FieldPluginBase->theme()
#57 [internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow()
#58 /var/www/html/impact10/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array()
#59 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback()
#60 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(421): Drupal\Core\Render\Renderer->doCallback()
#61 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#62 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render()
#63 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#64 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(166): Drupal\Core\Render\Renderer->executeInRenderContext()
#65 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(707): Drupal\Core\Render\Renderer->renderPlain()
#66 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(570): Drupal\views\Plugin\views\style\StylePluginBase->renderFields()
#67 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(461): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping()
#68 /var/www/html/impact10/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2174): Drupal\views\Plugin\views\style\StylePluginBase->render()
#69 /var/www/html/impact10/core/modules/views/src/ViewExecutable.php(1548): Drupal\views\Plugin\views\display\DisplayPluginBase->render()
#70 /var/www/html/impact10/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#71 /var/www/html/impact10/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#72 /var/www/html/impact10/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview()
#73 /var/www/html/impact10/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview()
#74 /var/www/html/impact10/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form()
#75 /var/www/html/impact10/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm()
#76 [internal function]: Drupal\views_ui\ViewFormBase->buildForm()
#77 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
#78 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm()
#79 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm()
#80 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm()
#81 /var/www/html/impact10/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#82 /var/www/html/impact10/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult()
#83 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
#84 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#85 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#86 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#87 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#88 /var/www/html/impact10/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#89 /var/www/html/impact10/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#90 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#91 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#92 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#93 /var/www/html/impact10/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#94 /var/www/html/impact10/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#95 /var/www/html/impact10/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#96 /var/www/html/impact10/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#97 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#98 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#99 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#100 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#101 /var/www/html/impact10/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#102 /var/www/html/impact10/index.php(19): Drupal\Core\DrupalKernel->handle()
#103 {main}
gaelicmichael β created an issue.
gaelicmichael β created an issue.
I has just occurred to me that the page I was using for specifying the mapping of fields when importing is under the CSL (whatever that stands for) tab. There is also a tab titled PubMedId.
When I select that tab, an error is displayed:
Error message
Warning: Undefined array key "types" in Drupal\bibcite\Plugin\BibciteFormat->getTypes() (line 25 of modules/contrib/bibcite/src/Plugin/BibciteFormat.php).
Warning: foreach() argument must be of type array|object, null given in Drupal\bibcite_entity\Form\MappingForm->buildForm() (line 86 of modules/contrib/bibcite/modules/bibcite_entity/src/Form/MappingForm.php).
Warning: Undefined array key "fields" in Drupal\bibcite\Plugin\BibciteFormat->getFields() (line 18 of modules/contrib/bibcite/src/Plugin/BibciteFormat.php).
Warning: foreach() argument must be of type array|object, null given in Drupal\bibcite_entity\Form\MappingForm->buildForm() (line 108 of modules/contrib/bibcite/modules/bibcite_entity/src/Form/MappingForm.php).
Is this where the mapping is supposed to be provided? Is there a fix for this error?
gaelicmichael β created an issue.