🇺🇸United States @joshuasosa

Account created on 30 March 2011, about 13 years ago
#

Recent comments

🇺🇸United States joshuasosa

Thanks for reviewing! I'm not currently sure about steps to reproduce. The issue I encountered might stem from a migration from D7 to D9/10.

🇺🇸United States joshuasosa

In my particular case, a visitor went to mysite.com/index.php) which causes a white screen error. #46 didn't work for me but #56 resolved the issue.

🇺🇸United States joshuasosa

I have a custom theme for the front-end but use Claro for admin theme.

In mytheme.gutenberg.yml I tried using your syntax:

- theme-support:
  - __experimentalFeatures:
    - typography:
      - fontSizes:
        - theme:
          - name: "Small"
            slug: "small"
            size: 14
          - name: "Lead"
            slug: "lead"
            size: 20
          - name: "Display 1"
            slug: "display-1"
            size: 96
          - name: "Display 2"
            slug: "display-2"
            size: 88
          - name: "Display 3"
            slug: "display-3"
            size: 72
          - name: "Display 4"
            slug: "display-4"
            size: 56

That didn't seem to work, so I tried without the hyphens:

theme-support:
  __experimentalFeatures:
    typography:
      fontSizes:
        theme:
          - name: "Small"
            slug: "small"
            size: 14
          - name: "Lead"
            slug: "lead"
            size: 20
          - name: "Display 1"
            slug: "display-1"
            size: 96
          - name: "Display 2"
            slug: "display-2"
            size: 88
          - name: "Display 3"
            slug: "display-3"
            size: 72
          - name: "Display 4"
            slug: "display-4"
            size: 56

That worked and I can see a dropdown of my specified font sizes.

I was also able to get custom colors in like this:

theme-support:
  __experimentalFeatures:
    color:
      background: true
      button: true
      caption: true
      defaultDuotone: false
      defaultGradients: false
      text: true
      defaultPalette: false
      heading: true
      link: true
      palette:
        theme:
          - slug: "blue"
            name: "Blue"
            color: "#0000FF"
          - slug: "red"
            name: "Red"
            color: "#CC0000"

Thanks!

🇺🇸United States joshuasosa

Attached is a patch that just checks if the resulting URL is empty before performing the redirect response. This fixes the issue for me, but it could also be good to figure out how to prevent the issue from happening in the first place.

🇺🇸United States joshuasosa

Another temporary workaround is to not use the case transformation dropdown options in the contextual filter and instead use Twig to make adjustments when referring to the filter. For example, a contextual filter for seasons could override the view title and capitalize with something like {{ arguments.field_season_value|capitalize }}. (If needing to override view title with Twig filters, patch #7 in Change "Override title" field type from textfield to textarea Needs work can expand the maxlength.)

🇺🇸United States joshuasosa

Tested patch #7 and confirmed it works in 10.2, thanks!

🇺🇸United States joshuasosa

I think this patch needs to be rerolled.

🇺🇸United States joshuasosa

I'm also unable to get font sizes to work with the provided instructions. It just shows the default set of font size options.

🇺🇸United States joshuasosa

I'm not sure how to solve, but leo in #66 had a note about headers being the cause. I'm also unsure how to test anymore: testing again on Windows 10 Ubuntu WSL in alpine, my Terminal and PowerShell allow clicking on links in alpine, meaning it seems to work ok. There may be a combination of another version of Linux and mail client where it doesn't work properly.

Perhaps someone that still encounters the issue could provide details about platform and email client used to help replicate for fixing and testing.

🇺🇸United States joshuasosa

Ah that does look like the same sort of issue with dependency list likely not updating. Added a comment in #3229138. Thanks!

🇺🇸United States joshuasosa

Same issue occurring with the plugin provided by views_ical module. 🐛 Uninstall wants to delete whole view Active

🇺🇸United States joshuasosa

Testing the patch in #6 gives these warnings:

Warning: Undefined array key "timezone_override" in Drupal\views_ical\Plugin\views\row\IcalFieldsWizard->render() (line 88 of /web/modules/contrib/views_ical/src/Plugin/views/row/IcalFieldsWizard.php)
#0 /web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
#1 /web/modules/contrib/views_ical/src/Plugin/views/row/IcalFieldsWizard.php(88): _drupal_error_handler()
#2 /web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(504): Drupal\views_ical\Plugin\views\row\IcalFieldsWizard->render()
#3 /web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(464): Drupal\views\Plugin\views\style\StylePluginBase->renderGroupingSets()
#4 /web/modules/contrib/views_ical/src/Plugin/views/style/IcalWizard.php(250): Drupal\views\Plugin\views\style\StylePluginBase->render()
#5 /web/core/modules/views/src/Plugin/views/display/Feed.php(190): Drupal\views_ical\Plugin\views\style\IcalWizard->render()
#6 /web/core/modules/views/src/ViewExecutable.php(1548): Drupal\views\Plugin\views\display\Feed->render()
#7 /web/core/modules/views/src/Plugin/views/display/Feed.php(173): Drupal\views\ViewExecutable->render()
#8 /web/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\Feed->preview()
#9 /web/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview()
#10 /web/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview()
#11 /web/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form()
#12 /web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm()
#13 [internal function]: Drupal\views_ui\ViewFormBase->buildForm()
#14 /web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
#15 /web/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm()
#16 /web/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm()
#17 /web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm()
#18 /web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#19 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#20 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#21 /web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#22 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#23 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#24 /vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 /vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#26 /web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#27 /web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#28 /web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#29 /web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#30 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#31 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#32 /web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#33 /web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#34 /web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#35 /web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#36 /web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#37 /web/index.php(19): Drupal\Core\DrupalKernel->handle()
#38 {main}

🇺🇸United States joshuasosa

Alpine is apparently still supported by its developer. It's a valid text-only mail client for linux systems. This issue did exist in Alpine last I checked a year ago and was originally reported by a client of mine that uses Alpine exclusively. Anyone interested in fixing the issue could download and install Alpine to try themselves.
https://alpineapp.email/
https://repo.or.cz/alpine.git

That being said, we could say Drupal does not support text-only mail clients.

🇺🇸United States joshuasosa

The way I was able to reproduce the error is related to views contextual filters being fed into views_field_view. There could be other ways to instigate the error, but these steps are based on my real-world case.

1. Create a content type and add a select list field to it with some options (e.g., Season with options Spring, Summer, Fall, Winter). It could also be set up as something else, like taxonomy or entity reference, just something to use as a 'category'.
2. Create a view with the new content type using fields with a page using a path like /test/% and a block.
3. Have the Title field shown on both displays just to show something.
4. Add a contextual filter for the list field (e.g., Season) on both displays with a default to display all results.
5. On the page display, set the list field's contextual filter to Case: Capitalize first letter. This could also be set to the other options.
6. On the page display, add a view field view (i.e., Global: View) field.
7. In the view field, set the view to the current view and the display to the other block in this view.
8. Set the contextual filters to the arguments.list field that comes from the page (e.g., {{ arguments.field_list_value }} )
6. Save and update the preview. The error log shows the error every time you update preview.

The error can go away if we set the page's contextual filter to not alter the case or if we remove the page's views field view. But neither workaround is ideal.

Using raw_arguments generates another series of views_field_view related errors:

Warning: Undefined array key 0 in Drupal\views_field_view\Plugin\views\field\View->getTokenValue() (line 318 of /modules/contrib/views_field_view/src/Plugin/views/field/View.php)
#0 /core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/var/www/html/w...', 318)
#1 /modules/contrib/views_field_view/src/Plugin/views/field/View.php(318): _drupal_error_handler(2, 'Undefined array...', '/var/www/html/w...', 318)
#2 /modules/contrib/views_field_view/src/Plugin/views/field/View.php(231): Drupal\views_field_view\Plugin\views\field\View->getTokenValue('{{ raw_argument...', Object(Drupal\views\ResultRow), Object(Drupal\views\ViewExecutable))
#3 /core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1196): Drupal\views_field_view\Plugin\views\field\View->render(Object(Drupal\views\ResultRow))
#4 /core/modules/views/views.theme.inc(238): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender(Object(Drupal\views\ResultRow))
#5 [internal function]: template_preprocess_views_view_field(Array, 'views_view_fiel...', Array)
#6 /core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array('template_prepro...', Array)
#7 /core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render('views_view_fiel...', Array)
#8 /core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, false)
#9 /core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1790): Drupal\Core\Render\Renderer->render(Array)
#10 /core/modules/views/src/Plugin/views/style/StylePluginBase.php(765): Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object(Drupal\views\ResultRow))
#11 [internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(Array)
#12 /core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array(Array, Array)
#13 /core/lib/Drupal/Core/Render/Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#14 /core/lib/Drupal/Core/Render/Renderer.php(421): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#15 /core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, true)
#16 /core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render(Array, true)
#17 /core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#18 /core/lib/Drupal/Core/Render/Renderer.php(166): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#19 /core/modules/views/src/Plugin/views/style/StylePluginBase.php(707): Drupal\Core\Render\Renderer->renderPlain(Array)
#20 /core/modules/views/src/Plugin/views/style/StylePluginBase.php(570): Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array)
#21 /core/modules/views/src/Plugin/views/style/StylePluginBase.php(461): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, true)
#22 /core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2174): Drupal\views\Plugin\views\style\StylePluginBase->render()
#23 /core/modules/views/src/ViewExecutable.php(1548): Drupal\views\Plugin\views\display\DisplayPluginBase->render()
#24 /core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#25 /core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#26 /core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview('page_1', Array)
#27 /core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview('page_1', Array)
#28 /core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form(Array, Object(Drupal\Core\Form\FormState))
#29 /core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#30 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState), 'page_1')
#31 /core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array)
#32 /core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#33 /core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState), Array)
#34 /core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm('view_preview_fo...', Array, Object(Drupal\Core\Form\FormState))
#35 /core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewPreviewForm), Object(Drupal\Core\Form\FormState))
#36 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#37 /core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#38 /core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#39 /core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#40 /core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#41 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#42 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#43 /core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 /core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#48 /core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 /core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#50 /core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#51 /core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#52 /core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#53 /core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#54 /index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#55 {main}

🇺🇸United States joshuasosa

I'm not sure how to replicate yet. I exported the form config and imported to another site and everything works fine there. Maybe there's a submission tripping it up?

I edited line 114 of /core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php to print $element['#default_value'] where it throws that error and it's giving a string of a uid, the 'submitted by' user, instead of the expected instance of EntityInterface.

🇺🇸United States joshuasosa

According to the readme quote I posted it supposedly is. But I've tried a number of things in my custom module and can't even get a new custom checkbox validator to show up in element properties. For now I'll settle with using the built-in webform regex validator.

🇺🇸United States joshuasosa

joshuasosa changed the visibility of the branch 3436241-creating-a-webform to hidden.

🇺🇸United States joshuasosa

joshuasosa made their first commit to this issue’s fork.

🇺🇸United States joshuasosa

I'm getting the same issue on 3.0.4.

🇺🇸United States joshuasosa

Same issue as reported by 12: patch #11 produces a white-screen fatal error regarding a modulo by zero using Drupal 10.2.3 and Views Bootstrap 5.4.0.

A warning also comes up:

Warning: Undefined array key "alignment" in template_preprocess_views_view_grid() (line 715 of core/modules/views/views.theme.inc).

🇺🇸United States joshuasosa

Deprecated function: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Core\Config\Entity\Query\Condition->compile() (line 39 of /core/lib/Drupal/Core/Config/Entity/Query/Condition.php)

The patch provided with the MR in 3301613 📌 Only process values in config entity query conditions for values that have values Active fixed this error for me.

🇺🇸United States joshuasosa

I'm getting the same error with the asterisk meant to allow all file types. Setting a specific list of file types works at least.

🇺🇸United States joshuasosa

The patch in #15 fixes the error for me on 2.0.x-dev. Thanks!

🇺🇸United States joshuasosa

Attached is a temporary patch against -dev just to suppress the warnings. It'd probably be better to properly handle them, but at least my logs won't keep blowing up for now.

🇺🇸United States joshuasosa

I'm getting same thing on 8.x-1.0-alpha12. Lots of warnings blowing up the logs to hundreds of pages. This site is for AZ, US which has no time zone change throughout the year.

Warning: Undefined array key -1 in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 380 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

Warning: Trying to access array offset on value of type null in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 427 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

Warning: Trying to access array offset on value of type null in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 435 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

Warning: Undefined array key -1 in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 434 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

Warning: Undefined array key "timezone_override" in Drupal\views_ical\Plugin\views\row\IcalFieldsWizard->render() (line 88 of /drupal/web/modules/contrib/views_ical/src/Plugin/views/row/IcalFieldsWizard.php)

🇺🇸United States joshuasosa

I'm getting duplicate records displayed in my view on 2.1.3 due to draggableviews. Patch in #11 doesn't help.

🇺🇸United States joshuasosa

I'm currently getting duplicates due to draggableviews on 2.1.3. Patch #51 doesn't help.

🇺🇸United States joshuasosa

I haven't tried on 11 yet, but on 9 and 10 the issue was more than just the drop downs. It would occur for tables and other fields that get pushed out of view. The fix should be more general to cover all cases, not just a drop-down fix.

🇺🇸United States joshuasosa

It looks like adding

if ($transition['index'] > 0) {

before $transitionPrev on 434 and closing after the !in_array if-block clears up these warnings for me.

🇺🇸United States joshuasosa

Yes! It's for AZ time which uses MST without any daylight savings change. Putting in the suggested null check on $transitionPrev seems to clear up those warnings for me. Thanks!

🇺🇸United States joshuasosa

MR!17 from #14 fixes the deprecated error message for me.

I'm able to add the calendar feed to my Outlook and Google Calendar using alpha12.

I'm not sure if this is a good place to put it, but I also see other warnings in logs:

Warning: Trying to access array offset on value of type null in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 435 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

Warning: Undefined array key -1 in Drupal\views_ical\ViewsIcalHelper->addTimezone() (line 434 of /drupal/web/modules/contrib/views_ical/src/ViewsIcalHelper.php)

🇺🇸United States joshuasosa

Patch #17 (equivalent to MR!9 in #13) seems to work for me. Thanks!

🇺🇸United States joshuasosa

I definitely use the per-node user permission setting a lot, so thanks for continuing to keep it integrated here!

🇺🇸United States joshuasosa

This fix helped resolve JS issues when aggregated. Some things, like IMCE module, break due to this error. Thanks!

🇺🇸United States joshuasosa

Patch #15 works for me. No more errors about this issue in log. Thanks!

🇺🇸United States joshuasosa

The patch with MR!16 resolves the issue if nothing is entered in the pattern field. But it continues to generate a fatal error if a non-existent pattern or pattern using a disallowed field is used.

If a pattern is entered, maybe there should be some sort of check to verify/validate the pattern on label generation.

🇺🇸United States joshuasosa

Hello, I can confirm that the patch in #4 works in my testing.

On Google Calendar, I previously could not subscribe or import a calendar created with views_ical's iCal Style Wizard format. For subscription, it would say the calendar was created and it's fetching events, but nothing would come up. On a direct import of the file to an existing calendar, it would say 0 out of 0 events imported. This patch fixes both of those cases. Thanks!

🇺🇸United States joshuasosa

Just noting here that patch #11 worked well for me. I looked at the fatal error with the listed permissions and confirmed they're no longer relevant to my site, so I just wanted them gone so I can move on. The error blocked me from performing database updates or changing text format configuration, and there's no other solution listed here (not sure about 3375860 🐛 "Adding non-existent permissions to a role is not allowed." exception is thrown for profile installations Needs work ).

A patch that more carefully considers implications and possibilities would be nice, but I think #11 is good to add temporarily for getting past the issue, and then removing the patch just in case.

🇺🇸United States joshuasosa

I also encountered this issue and patch #9 helped.

Now I have some more warnings:

Warning: Undefined array key "table" in Drupal\views\Plugin\ViewsHandlerManager->getHandler() (line 82 of core/modules/views/src/Plugin/ViewsHandlerManager.php).
Warning: Undefined array key "field" in Drupal\views\Plugin\ViewsHandlerManager->getHandler() (line 83 of core/modules/views/src/Plugin/ViewsHandlerManager.php).

I get that it may be some contributed module that isn't implementing something properly. But it might be nice for Drupal to do some isset checks so as to avoid these warnings coming up in log when they don't seemingly affect functionality. Or at least make the error message more useful to help identify what's wrong. As it is, the stack trace doesn't help.

🇺🇸United States joshuasosa

@chetan-11 Thanks for getting it started! There's some more work needed, but I'm not sure how to work with that merge request.

Attached is a patch that adds more fixes after MR!1.

I'm also getting this deprecation notice but am unsure how to fix it:

Deprecated function: Implicit conversion from float 2551442.86108 to int loses precision in Drupal\moon_phases\MoonCalc->setPositionInCycle() (line 87 of modules/contrib/moon_phases/src/MoonCalc.php).

But that notice doesn't normally show unless you enable display errors or look at the log. I think this patch is ready for review, and that deprecation notice could be addressed in a future issue.

🇺🇸United States joshuasosa

Any update on when this Drupal 10 version will become available? Thanks!

🇺🇸United States joshuasosa

RobLoach is now a maintainer. Looking forward to seeing the update come through!

🇺🇸United States joshuasosa

Still active as the proposed resolution of "Release the Insert View 2.1 release" is not yet fixed.

🇺🇸United States joshuasosa

joshuasosa created an issue.

🇺🇸United States joshuasosa

Also hoping to get this merged soon to have a Drupal 10 version.

🇺🇸United States joshuasosa

Any idea when Drupal 10 version will be available in anything besides -dev?

🇺🇸United States joshuasosa

I did testing with #36 using the scenario in the original post as well as testing other areas with vertical tabs (account settings, text format settings, content type settings, media type edit, block layout settings) and with some other modules that use vertical tabs (google_tag, entity_embed text format settings, chosen, slick). It seems to work pretty well.

#37 might be more paragraphs related. It may have to do with paragraphs setting a specific size attribute on text fields which goes beyond the container if the screen size is small. But I'd rather see that paragraph content overflow the container so I can actually see the whole thing rather than it get cut off.

Regarding the patch in #40, if there's a vendor library to fix, those fixes should probably go in the vendor's issue queue instead.

I tried checking for vanilla cases and am unsure if the issue can be replicated without contrib help or custom code. But the issue of vertical tabs hiding overflow does stem from Claro. By comparison, it doesn't look like accordions hide overflow. The issue may not affect vanilla, but it does impact certain contrib modules like in the original scenario.

🇺🇸United States joshuasosa

Yeah I added <br> into the patch that was made into release. Very awesome, thanks!

🇺🇸United States joshuasosa

Nice thanks! Are you able to add some attribution to release notes? Here's an example from webform . Should note shelane and me.

🇺🇸United States joshuasosa

I have a Drupal 9 install post Drupal 7 migration where files exist in the Files area but not in the Media area. The new site is in a good state, and I'm not sure if other Drupal 7 to 9 migrations would create duplicates or conflict with what's already in the Drupal 9 site's Files area. I also don't know if media_migration actually has anything yet for files that exist in a Drupal 9 Files area but not in Media. All I saw was stuff for Drupal 7, including patch 72 here, which is not what I needed. I basically don't care about Drupal 7 and just want Drupal 9 Files converted to Drupal 9 Media.

For anyone else needing to migrate/convert Drupal 8/9/10 Files to Media:
The patch from #38 is exactly what I needed. After patching, I copied file_media.yml to my own module's config/install/migrate_plus.migration.file_media.yml like #36 mentions and changed the definition for file to document like Drupal 9/10 has. The only other change needed was to change Unicode::strtolower to mb_strtolower in core/modules/media/src/Plugin/migrate/source/File.php. I ran drush mim file_media and it successfully added Media entries.

🇺🇸United States joshuasosa

Hello, attached is an updated version of the patch from #7 for D9/10. I added in my suggestions from #16 to help with HTML output and add <br> tag as an option. I tested it successfully on Drupal 9 and 10.

🇺🇸United States joshuasosa

I'm not sure what the status is for a Drupal 9/10 release, but a fine substitute is views_ical in case anyone is looking.

🇺🇸United States joshuasosa

Hello, I'm using 8.x-1.0-alpha11 and also am running into the issue of field names showing in the resulting ical feed. They're not view field labels since I have those unchecked. They seem to be the names of the fields themselves. The issue shows up for both DESCRIPTION and LOCATION fields.

If my event's description field is called Event Description, it will show as

DESCRIPTION:Event Description \n\nThis is my description.

Similarly, if my event's location field is called Event Location, it will show as

LOCATION:Event Location \nBuilding 123

I'd like to remove those field names from the output. It's problematic on the location output because it then shows all events with a prefix location of "Event Location" which is not helpful if I'm trying to output an address.

🇺🇸United States joshuasosa

#11 breaks the page if there are no table headers. This case can happen if fields are added and their labels are removed. I had this happen when I had another view display that has fields but no labels. I cloned the display and re-arranged the new page so that it could act as a reordering page using the same fields as the original display. But since it had no labels to make into table headers, it white-screened the reordering page and gave an error.

Notice: Undefined index: draggableviews in draggableviews_preprocess_views_view_table() (line 90 of /drupal/web/modules/contrib/draggableviews/draggableviews.module)

Attached is an updated patch to check if $variables['header']['draggableviews']['attributes'] is set.

🇺🇸United States joshuasosa

I also get this error no matter what. Using Drupal 9.5.9, I tried it on one directory with a single jpg image and it failed with this error. IMO this is major if not critical since the module is completely unusable for its intended purpose.

🇺🇸United States joshuasosa

After some messing around, I found I needed to disable alt requirement on images and enable description on a file field I also had. Not sure why those settings resulted in white screen errors like this, but hopefully I can move on.

🇺🇸United States joshuasosa

Checking a couple years later, any update? I think what was provided here is good enough to at least have an initial version out, better than nothing. Add in that ViewsRenderPipelineMarkup::create or other on the output and it'd be even better.

🇺🇸United States joshuasosa

Also just noting that using #3 worked well for my specific use case. But the patch making automatic base fields optional seems promising.

🇺🇸United States joshuasosa

Also got this error recently just by removing a relationship in the UI. I have some other fields and filters that used it, and in Drupal 7 it'd fail successfully by removing the relationships where used. Core views should similarly be smarter and perform safe fallbacks instead of white-screen crashing the view with a bunch of throws.

🇺🇸United States joshuasosa

I also got this error recently after a migration from Drupal 7 to Drupal 9. The additional error messaging provided above helped.
Using this query: select * from `key_value` where `value` = 'N;'
I found collection of entity.definitions.bundle_field_map with name taxonomy_term and a N; value. There were also some others with collections migrate:high_water and state with values of N; .

After deleting the null records and rebuilding cache, I no longer get the warnings.

🇺🇸United States joshuasosa

Excellent! Updating to 7.97 fixes the issue. Thank you!

Drush was dead in the water with the error, so I had to manually apply the changes in the patch before it would work to perform the update. But it's all good now!

🇺🇸United States joshuasosa

Comments from #7 and #8 are valid in most cases, but #3 notes that the enterprise Linux distribution RHEL 7 will continue to support and make security backports to 5.4 through its EoL in June 2024. That means there are very likely going to be enterprise business use cases that can and will use this patched 5.4 version for another year. People on that distribution could use Software Collections to update, but SC is not directly supported by Red Hat, leading to the business decision to stick with 5.4.

But this is just to point out that there can and will be groups that may not be in a position to upgrade regardless of the commented recommendations.

I don't really have an opinion, but if Drupal wants/needs to drop support of older versions due to lack of 'resources', that sounds like a fine plan. As long as it's communicated as effectively as possible so as to not blindside people like with the regression introduced in 7.96, it could prompt people on lingering versions to update in some way, contribute a patch for anyone still interested, or migrate to another CMS.

🇺🇸United States joshuasosa

FYI patch #14 doesn't seem to apply anymore on 8.x-1.0-rc1.

🇺🇸United States joshuasosa

I had a similar issue come up where configuration syncing removed new roles on a site. Instead of just skipping if the role doesn't exist as with #2, I used some of #4 in related issue 2960330 role/gid mapping refresh when gid missing (related to configuration synchronisation of content_access.settings and grey listing of roles with config_split) Needs work to instead rescan roles.

I think in general it would be nice to have the module rebuild its role list when it encounters errors like this, or at least provide a more helpful error and maybe a separate role rebuild option.

  • Role was deleted but content_access thinks it still exists in config
  • Role exists but content_access doesn't think it does
🇺🇸United States joshuasosa

Hello, I also ran into this issue with 8.x-1.0-alpha4. I have a configuration sync that brings in default roles to content_access.settings.yml and unfortunately clears custom roles on the site from that list.

This patch helped, though it didn't apply cleanly and there was some issue with the grants section not working properly and causing access denied for all roles. I was able to use the part where it rescans roles and added it to my configuration syncing code, so hopefully it won't continue being an issue for me even without this patch. But I can at least confirm that it's an ongoing issue for some configuration syncing setups.

🇺🇸United States joshuasosa

#54 isn't really working for me. I have a taxonomy with hierarchy where a parent's children may have the same labeling as another parent's children (e.g., Term A > Financial, Term B > Financial). They get their own tables appropriately, but they don't consistently get the draggable crosshairs. I think it looks like the second table with the duplicate labeling is the one that doesn't get the draggable options.

🇺🇸United States joshuasosa

I also ran into this same situation! I have other sites where that link to open the file browser shows in the regular ckeditor link dialog, but one site where it was missing. It's because I set up the private file system and needed to assign an IMCE profile for the role for private files. Thanks for the clue!

🇺🇸United States joshuasosa

Please provide step-by-step instructions to reproduce this issue.

Production build 0.69.0 2024