Account created on 13 December 2013, about 11 years ago
#

Merge Requests

Recent comments

🇨🇦Canada ebremner

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

🇨🇦Canada ebremner

Yes I tried both and both caused the same error. 6.0.6 for D9 and 7.01 for D10. Actually changed the core version requirement for 7.0.1 in D9 and everything seemed ok, except for this error that we are getting.

🇨🇦Canada ebremner

So I can confirm that this is still an issue with 6.0.6 and 7.1.0. We are using smart date and if you use an exposed filter on the date that uses smart date, in D9.5 we get the following error:

Warning: Undefined array key "type" in Drupal\Core\Render\Element\Date::processDate() (line 71 of core/lib/Drupal/Core/Render/Element/Date.php).

Drupal\Core\Render\Element\Date::processDate(Array, Object, Array)
call_user_func_array(Array, Array) (Line: 1012)
Drupal\Core\Form\FormBuilder->doBuildForm('views_exposed_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('views_exposed_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('views_exposed_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('views_exposed_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('views_exposed_form', Array, Object) (Line: 579)
Drupal\Core\Form\FormBuilder->processForm('views_exposed_form', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm('\Drupal\views\Form\ViewsExposedForm', Object) (Line: 134)
Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase->renderExposedForm() (Line: 1243)
Drupal\views\ViewExecutable->build('news_page') (Line: 1396)
Drupal\views\ViewExecutable->execute('news_page') (Line: 343)
Drupal\uw_custom_blocks\Plugin\Block\UwCblMultiTypeList->getNodes('News', 3, ) (Line: 144)
Drupal\uw_custom_blocks\Plugin\Block\UwCblMultiTypeList->build() (Line: 106)
Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray->onBuildRender(Object, 'section_component.build.render_array', Object)
call_user_func(Array, Object, 'section_component.build.render_array', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'section_component.build.render_array') (Line: 90)
Drupal\layout_builder\SectionComponent->toRenderArray(Array, ) (Line: 88)
Drupal\layout_builder\Section->toRenderArray(Array) (Line: 316)
Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildSections(Object) (Line: 275)
Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildMultiple(Array) (Line: 340)
Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 24)
Drupal\node\NodeViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 282)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 239)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🇨🇦Canada ebremner

This seems to be fixed in the latest release of webform.

🇨🇦Canada ebremner

I have updated the update to now only change the destination option.

🇨🇦Canada ebremner

ebremner changed the visibility of the branch 3460893-webform-fillpdf to active.

🇨🇦Canada ebremner

ebremner changed the visibility of the branch 3460893-webform-fillpdf to hidden.

🇨🇦Canada ebremner

I can confirm that I am receiving the same problem and here is the YAML from my form:

langcode: en
status: open
dependencies: {  }
weight: 0
open: null
close: null
uid: 1
template: false
archive: false
id: test
title: Test
description: ''
categories: {  }
elements: |-
  captcha:
    '#type': captcha
  name:
    '#type': webform_name
    '#title': Name
    '#multiple': true
    '#format_items': hr
    '#title__access': false
    '#middle__access': false
    '#suffix__access': false
    '#degree__access': false
css: ''
javascript: ''
settings:
  ajax: false
  ajax_scroll_top: form
  ajax_progress_type: ''
  ajax_effect: ''
  ajax_speed: null
  page: true
  page_submit_path: ''
  page_confirm_path: ''
  page_theme_name: ''
  form_title: both
  form_submit_once: false
  form_open_message: ''
  form_close_message: ''
  form_exception_message: ''
  form_previous_submissions: true
  form_confidential: false
  form_confidential_message: ''
  form_disable_remote_addr: false
  form_convert_anonymous: false
  form_prepopulate: false
  form_prepopulate_source_entity: false
  form_prepopulate_source_entity_required: false
  form_prepopulate_source_entity_type: ''
  form_unsaved: false
  form_disable_back: false
  form_submit_back: false
  form_disable_autocomplete: false
  form_novalidate: false
  form_disable_inline_errors: false
  form_required: false
  form_autofocus: false
  form_details_toggle: false
  form_reset: false
  form_access_denied: page
  form_access_denied_title: ''
  form_access_denied_message: ''
  form_access_denied_attributes: {  }
  form_file_limit: ''
  form_attributes: {  }
  form_method: ''
  form_action: ''
  share: false
  share_node: false
  share_theme_name: ''
  share_title: true
  share_page_body_attributes: {  }
  submission_label: ''
  submission_exception_message: ''
  submission_locked_message: ''
  submission_log: false
  submission_excluded_elements: {  }
  submission_exclude_empty: false
  submission_exclude_empty_checkbox: false
  submission_views: {  }
  submission_views_replace: {  }
  submission_user_columns: {  }
  submission_user_duplicate: false
  submission_access_denied: default
  submission_access_denied_title: ''
  submission_access_denied_message: ''
  submission_access_denied_attributes: {  }
  previous_submission_message: ''
  previous_submissions_message: ''
  autofill: false
  autofill_message: ''
  autofill_excluded_elements: {  }
  wizard_progress_bar: true
  wizard_progress_pages: false
  wizard_progress_percentage: false
  wizard_progress_link: false
  wizard_progress_states: false
  wizard_start_label: ''
  wizard_preview_link: false
  wizard_confirmation: true
  wizard_confirmation_label: ''
  wizard_auto_forward: true
  wizard_auto_forward_hide_next_button: false
  wizard_keyboard: true
  wizard_track: ''
  wizard_prev_button_label: ''
  wizard_next_button_label: ''
  wizard_toggle: false
  wizard_toggle_show_label: ''
  wizard_toggle_hide_label: ''
  wizard_page_type: container
  wizard_page_title_tag: h2
  preview: 0
  preview_label: ''
  preview_title: ''
  preview_message: ''
  preview_attributes: {  }
  preview_excluded_elements: {  }
  preview_exclude_empty: true
  preview_exclude_empty_checkbox: false
  draft: none
  draft_multiple: false
  draft_auto_save: false
  draft_saved_message: ''
  draft_loaded_message: ''
  draft_pending_single_message: ''
  draft_pending_multiple_message: ''
  confirmation_type: inline
  confirmation_url: ''
  confirmation_title: ''
  confirmation_message: ''
  confirmation_attributes: {  }
  confirmation_back: true
  confirmation_back_label: ''
  confirmation_back_attributes: {  }
  confirmation_exclude_query: false
  confirmation_exclude_token: false
  confirmation_update: false
  limit_total: null
  limit_total_interval: null
  limit_total_message: ''
  limit_total_unique: false
  limit_user: null
  limit_user_interval: null
  limit_user_message: ''
  limit_user_unique: false
  entity_limit_total: null
  entity_limit_total_interval: null
  entity_limit_user: null
  entity_limit_user_interval: null
  purge: draft
  purge_days: 28
  results_disabled: false
  results_disabled_ignore: false
  results_customize: false
  token_view: false
  token_update: false
  token_delete: false
  serial_disabled: false
access:
  create:
    roles:
      - anonymous
      - authenticated
    users: {  }
    permissions: {  }
  view_any:
    roles: {  }
    users: {  }
    permissions: {  }
  update_any:
    roles: {  }
    users: {  }
    permissions: {  }
  delete_any:
    roles: {  }
    users: {  }
    permissions: {  }
  purge_any:
    roles: {  }
    users: {  }
    permissions: {  }
  view_own:
    roles: {  }
    users: {  }
    permissions: {  }
  update_own:
    roles: {  }
    users: {  }
    permissions: {  }
  delete_own:
    roles: {  }
    users: {  }
    permissions: {  }
  administer:
    roles: {  }
    users: {  }
    permissions: {  }
  test:
    roles: {  }
    users: {  }
    permissions: {  }
  configuration:
    roles: {  }
    users: {  }
    permissions: {  }
handlers: {  }
variants: {  }
🇨🇦Canada ebremner

I have updated the readme and provided a new release.

🇨🇦Canada ebremner

I will try and provide more in the README asap, but basically this will allow you in code to get all the field values of a node programmatically with one line of command. There is no need for any dependencies.

🇨🇦Canada ebremner

Can confirm that this still exists in 6.0.5, however now the filters apply to only the last one of the same view put on the page.

🇨🇦Canada ebremner

Something went wrong with patch in comment 3, supplying new patch that now works.

🇨🇦Canada ebremner

Supplying a better patch with more help text and validation.

🇨🇦Canada ebremner

Apparently there was a whitespace issue, redoing patch.

🇨🇦Canada ebremner

Here is the patch for the set category function

🇨🇦Canada ebremner

Here is the patch to fix when there is no image info available.

🇨🇦Canada ebremner

Can confirm that latest fixes this, can be closed.

🇨🇦Canada ebremner

Why does the project still show as not covered by security?

🇨🇦Canada ebremner

Here is a patch to at least fix the error, would be nice to have a preview though.

🇨🇦Canada ebremner

I can confirm that patch 29 works on 9.5.10 and php 8.1

🇨🇦Canada ebremner

Here is a patch with most of the fixes, except the 1 => true as stated.

🇨🇦Canada ebremner

Sorry I have not been able to look at this in awhile but I am finally getting back to it. I agree that some of these changes can be made, if someone would like to a crack at again using all the latest 2.0.x, then I will have a look too. I think it it is going to need an update hook for any existing ids for sections and blocks.

🇨🇦Canada ebremner

I think this request is a little old and my apologies for not getting to it earlier, but I think we will leave it for now and just close this request.

🇨🇦Canada ebremner

Could not get branch or fork to work, providing the patch and will add to dev.

🇨🇦Canada ebremner

Fixed, thanks for the patch.

🇨🇦Canada ebremner

This is ready to review, made the change to Modules per page.

🇨🇦Canada ebremner

I agree that this short description fits for this module, which is a great module.

🇨🇦Canada ebremner

I suggest that the logo C be used for this module.

🇨🇦Canada ebremner

I agree that the supplied logo works for modal project.

🇨🇦Canada ebremner

Hey it works now, thanks for the quick fix. Are you going re-release 1.9 or make a 1.10 release?

Thanks!!

🇨🇦Canada ebremner

Yes it works as expected now with dev and a refreshed browser.

🇨🇦Canada ebremner

See screenshots attached for all field settings.

🇨🇦Canada ebremner

Hi John,
The Copy link is still not working for me in exception hours, it just sits there.

Thanks,
Eric

🇨🇦Canada ebremner

Ok well the Copy link is not working at all for exception hours, can we remove it for now until that is fixed. I will provide a patch now to make this happen.

🇨🇦Canada ebremner

I can confirm that this is happening with HTML 5 time as well and with the 1.8 and dev versions. My suggestion is not to have the copy previous day for exceptions since it does not really make sense for this case. They will just add exceptions not use other days. Will try and create a patch to remove the link.

🇨🇦Canada ebremner

Yes I am using firefox but it happens in Chrome and Safari as well.

Production build 0.71.5 2024