Account created on 27 February 2011, almost 14 years ago
#

Recent comments

🇮🇹Italy trickfun

Hi shubham_pareek_19
same error for file field.

Thank you

🇮🇹Italy trickfun

In another project i have this error
module 2.0.9 and patch #270

Uncaught TypeError: Drupal.facets is undefined
    attach https://tc.algra.it/modules/contrib/facets/js/soft-limit.js?v=10.3.10:14

soft-limit.js hasn't Drupal in (function ($, once) {
row 6 and row 73

and

TypeError: settings.facets_views_ajax is undefined
    updateFacetsSummaryBlock https://tc.algra.it/modules/contrib/facets/js/facets-views-ajax.js?som2ct:227

inside updateFacetsSummaryBlock function i don't have settings.facets_views_ajax variable
i don't install summary block.

I update patch #270 with both fix

🇮🇹Italy trickfun

Patch #270 works for me with version 2.0.9.
Thank you

🇮🇹Italy trickfun

Same issue here https://www.drupal.org/project/commerce/issues/3373306#comment-15866731 Customers cannot edit or delete payment methods during checkout Active
I think that editing should be directly in checkout because a large number simply close the browser window and never return if there isn't an edit button.

Thank you

🇮🇹Italy trickfun

I agree. Editing should be directly in checkout because a large number simply close the browser window and never return if there isn't an edit button.
Patch doesn't work on checkout.

🇮🇹Italy trickfun

This is my controller to generate PDF view with batch

  /**
   * Starts the batch process to flush image styles.
   */
  public function generate() {

    $destination = \Drupal::request()->get('destination');

    // Create a new batch builder.
    $batch_builder = new BatchBuilder();

    // Set batch title and messages.
    $batch_builder->setTitle($this->t('Generating PDF'))
      ->setInitMessage($this->t('Starting generating PDF...'))
      ->setProgressMessage($this->t('Generate PDF.'))
      ->setErrorMessage($this->t('An error occurred during the generating process.'));

    // Add a batch operation 
    $batch_builder->addOperation([__CLASS__, 'buildPDF'], [$destination]);

    // Set a callback to handle completion.
    $batch_builder->setFinishCallback([__CLASS__, 'finishBatch']);

    // Set the batch.
    batch_set($batch_builder->toArray());

    // Return a redirect to the batch processing page.
    return batch_process();
  }

  /**
   * Flushes a single image style.
   *
   * @param string $style_name
   *   The name of the image style to be flushed.
   * @param array $context
   *   The batch context.
   */
  public static function buildPDF($destination, &$context) {

    // Initialize progress counter, which will keep track of how many items
    // we've processed.
    $context['sandbox']['progress'] = 0;

    $context['results'] = [
      'automatic_download' => TRUE,
      'redirect_url' => $destination,
    ];

    $export_type = 'pdf';
    $view_name = '<view_name>';
    $display_id = 'page_1';

    // Create the Print engine plugin.
    $config = \Drupal::config('entity_print.settings');
    $view = \Drupal::entityTypeManager()->getStorage('view')->load($view_name);
    
    $executable = $view->getExecutable();
    $executable->setDisplay($display_id);

    $scheme = 'public';
    $filename = 'pdf_catalog/name.pdf'; 

    $print_engine = \Drupal::service('plugin.manager.entity_print.print_engine')->createSelectedInstance($export_type);
    // The Print is sent straight to the browser.
    $path = \Drupal::service('entity_print.print_builder')->savePrintable([$view], $print_engine, $scheme, $filename);

    $context['sandbox']['progress'] = 1;
    $context['results']['vde_file'] = $path;
    $context['finished'] = 1;
  }

  /**
   * Callback to handle batch completion.
   *
   * @param bool $success
   *   Whether the batch process was successful.
   * @param array $results
   *   The batch results.
   * @param array $operations
   *   The remaining batch operations.
   */
  public static function finishBatch($success, $results, $operations) {

    // Set Drupal status message to let the user know the results of the export.
    // The 'success' parameter means no fatal PHP errors were detected.
    // All other error management should be handled using 'results'.
    $response = new RedirectResponse($results['redirect_url']);
    if ($success && isset($results['vde_file']) && file_exists($results['vde_file'])) {
      // Check the permissions of the file to grant access and allow
      // modules to hook into permissions via hook_file_download().
      $headers = \Drupal::moduleHandler()->invokeAll('file_download', [$results['vde_file']]);

      // Require at least one module granting access and none denying access.

      // Create a web server accessible URL for the private file.
      // Permissions for accessing this URL will be inherited from the View
      // display's configuration.
      $url = \Drupal::service('file_url_generator')->generateAbsoluteString($results['vde_file']);
      $message = t('Export complete. Download the file <a target="_blank" download href=":download_url"  data-download-enabled="false" id="vde-automatic-download">here</a>.', [':download_url' => $url]);
      // If the user specified instant download than redirect to the file.
      if ($results['automatic_download']) {

        // Prevents browser from displaying JSON data if automatic download
        // is selected.
        if (!preg_match("/^.*\.(json)$/i", $results['vde_file'])) {
          $message = t('Export complete. Download the file <a target="_blank" download href=":download_url" data-download-enabled="true" id="vde-automatic-download">here</a> if file is not automatically downloaded.', [':download_url' => $url]);
        }
      }

      \Drupal::messenger()->addMessage($message);
      return $response;
    }
    else {
      $message = t('Export failed. Make sure the private file system is configured and check the error log.');
      \Drupal::messenger()->addError($message);
      return $response;
    }

  }

🇮🇹Italy trickfun

Very usefull with view.
Thank you

🇮🇹Italy trickfun

Patch doesn't work with batch process and savePrintable method.
Theme resolver get right theme but PDF is rendered with admin theme again.

🇮🇹Italy trickfun

What about this features?
I thing style is important.
Similar module like Chosen or choices_autocomplete provide Gin theme style.

Thank you

🇮🇹Italy trickfun

In my case, batch page uses right theme but no menu is displayed.
why no block is loaded?

thank you

🇮🇹Italy trickfun

Patch for 4.0.0-alpha4

🇮🇹Italy trickfun

Hi,
i can't apply patch 2896155-6 to 4.0.0-alpha4 and 4-dev

Thank you

🇮🇹Italy trickfun

debian 12
docker image
php 8.3
redis

[PHP]

; PHP: engine
engine = On

; PHP: short tag
short_open_tag = On

; PHP: precision of floating point numbers
precision = 14

; PHP: output buffering
output_buffering = 4096

; PHP: transparent output compression using the zlib library
zlib.output_compression = Off

; PHP: implicit flush
implicit_flush = Off

; PHP: unserialize callback function
unserialize_callback_func =

; PHP: serialize precision
serialize_precision = -1

; PHP: disabled functions
disable_functions =

; PHP: disabled class
disable_classes =

; PHP: circular reference collector
zend.enable_gc = On

; PHP: arguments from stack traces generated for exceptions
zend.exception_ignore_args = Off

; PHP: expose the version of php in the header
expose_php = Off

; PHP: max execution time of each script ( in seconds )
max_execution_time = 360

; PHP: max amount of time each script may spend parsing request data ( in seconds )
max_input_time = -1

; PHP: GET/POST/COOKIE input variables accepted
max_input_vars = 3280

; PHP: max amount of memory
memory_limit = 1024M

; PHP: error reporting
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

; PHP: display errors
display_errors = Off

; PHP: display startup errors
display_startup_errors = Off

; PHP: log errors
log_errors = On

; PHP: log path
error_log = /enviro/logs/php/php.log

; PHP: max length of errors
log_errors_max_len = 1024

; PHP: log repeated messages
ignore_repeated_errors = Off

; PHP: ignore repeated source code
ignore_repeated_source = Off

; PHP: report memleaks
report_memleaks = On

; PHP: variables order
variables_order = "GPCS"

; PHP: request order
request_order = "GP"

; PHP: registers $argv & $argc each time it runs.
register_argc_argv = Off

; PHP: auto globals jit
auto_globals_jit = On

; PHP: max size of POST data
post_max_size = 1024M

; PHP: automatically add files before PHP document
auto_prepend_file =

; PHP: automatically add files after PHP document
auto_append_file =

; PHP: default mime type
default_mimetype = "text/html"

; PHP: default character set
default_charset = "UTF-8"

; PHP: root folder
doc_root =

; PHP: user folder
user_dir =

; PHP: enable dl() function
enable_dl = Off

; PHP: CGI fix pathinfo
cgi.fix_pathinfo=0

; PHP: file uploads
file_uploads = On

; PHP: file upload max size
upload_max_filesize = 256M

; PHP: max number of files that can be uploaded via a single request
max_file_uploads = 20

; PHP: allow url fopen
allow_url_fopen = On

; PHP: allow url include
allow_url_include = Off

; PHP: default timeout for socket based streams ( in seconds )
default_socket_timeout = 360

; PHP: extension Imagick
extension = imagick.so

; PHP: extension Igbinary
extension = igbinary.so
session.serialize_handler = igbinary
igbinary.compact_strings = On
apc.serializer = igbinary

; PHP: extension Msgpack
extension = msgpack.so

; PHP: extension APCu
extension = apcu.so

; PHP: extension Redis
extension = redis.so

; PHP: extension Memcached
extension = memcached.so

; PHP: extension Uploadprogress
extension = uploadprogress.so

; PHP: extension MaxMindDB
extension = maxminddb.so

; PHP: extension Zend OPcache
zend_extension = opcache.so


[CLI Server]

; CLI Server: CLI web server uses ANSI color coding in its terminal output
cli_server.color = On


[Date]

; Date: timezone used by the date functions
date.timezone = "Europe/Rome"


[Pdo_mysql]

; Pdo_mysql: default socket name for local MySQL connects
pdo_mysql.default_socket=

; Pdo_mysql: add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off


[ODBC]

; ODBC: allow or prevent persistent links
odbc.allow_persistent = On

; ODBC: check that a connection is still valid before reuse
odbc.check_persistent = On

; ODBC: max number of persistent links
odbc.max_persistent = -1

; ODBC: max number of links ( persistent + non-persistent )
odbc.max_links = -1

; ODBC: handling of LONG fields
odbc.defaultlrl = 4096

; ODBC: Handling of binary data
odbc.defaultbinmode = 1


[MySQLi]

; MySQLi: max number of persistent links
mysqli.max_persistent = -1

; MySQLi: allow or prevent persistent links
mysqli.allow_persistent = On

; MySQLi: max number of links
mysqli.max_links = -1

; MySQLi: default port number for mysqli_connect()
mysqli.default_port = 3306

; MySQLi: default socket name for local MySQL connects
mysqli.default_socket =

; MySQLi: default host for mysqli_connect()
mysqli.default_host =

; MySQLi: default user for mysqli_connect()
mysqli.default_user =

; MySQLi: default password for mysqli_connect()
mysqli.default_pw =

; MySQLi: allow or prevent reconnect
mysqli.reconnect = Off


[mysqlnd]

; Mysqlnd: collect statistics
mysqlnd.collect_statistics = On

; Mysqlnd: collect memory usage statistics
mysqlnd.collect_memory_statistics = On


[PostgreSQL]

; PostgreSQL: persistent links
pgsql.allow_persistent = On

; PostgreSQL: detect broken persistent links always with pg_pconnect()
pgsql.auto_reset_persistent = Off

; PostgreSQL: max number of persistent links
pgsql.max_persistent = -1

; PostgreSQL: max number of links ( persistent + non persistent )
pgsql.max_links = -1

; PostgreSQL: ignore backends notice message
pgsql.ignore_notice = 0

; PostgreSQL: log backends notice message
pgsql.log_notice = 0


[bcmath]

; Bcmath: number of decimal digits for all functions
bcmath.scale = 0


[Session]

; Session: save handler
session.save_handler = files

; Session: save path
session.save_path = "/enviro/tmp"

; Session: strict mode
session.use_strict_mode = 0

; Session: use cookie
session.use_cookies = 1

; Session: use only cookies
session.use_only_cookies = 1

; Session: name
session.name = PHPSESSID

; Session: auto start up
session.auto_start = 0

; Session: lifetime
session.cookie_lifetime = 0

; Session: cookie path
session.cookie_path = /

; Session: cookie domain
session.cookie_domain =

; Session: http only
session.cookie_httponly =

; Session: cookie same site
session.cookie_samesite =

; Session: serialize handler
session.serialize_handler = php

; Session: garbage collection probability
session.gc_probability = 1

; Session: garbage collection divisor
session.gc_divisor = 1000

; Session: garbage collection max lifetime
session.gc_maxlifetime = 1440

; Session: referer check
session.referer_check =

; Session: cache limiter
session.cache_limiter = nocache

; Session: cache expire ( in minutes )
session.cache_expire = 180

; Session: use trans sid
session.use_trans_sid = 0

; Session: sid length
session.sid_length = 26

; Session: trans sid tags
session.trans_sid_tags = "a=href,area=href,frame=src,form="

; Session: sid bits per character
session.sid_bits_per_character = 5


[Assertion]

; Zend: assertions
zend.assertions = 1


[Tidy]

; Tidy: clean output
tidy.clean_output = Off


[soap]

; Soap: cache enabled
soap.wsdl_cache_enabled = 1

; Soap: chache folder
soap.wsdl_cache_dir = "/tmp"

; Soap: chache ttl
soap.wsdl_cache_ttl = 86400

; Soap: chache limit
soap.wsdl_cache_limit = 5


[ldap]

; Ldap: max number of open links
ldap.max_links = -1


[opcache]

; Zend OPCache: enabled
opcache.enable = 0

; Zend OPCache: CLI enabled
opcache.enable_cli = 0

; Zend OPCache: jit buffer size
opcache.jit_buffer_size = 128M

; Zend OPCache: jit
opcache.jit = 1205

; Zend OPCache: revalidate frequency
opcache.revalidate_freq = 0

; Zend OPCache: validate timestamp
opcache.validate_timestamps = 0

; Zend OPCache: max accelerated files
opcache.max_accelerated_files = 10000

; Zend OPCache: shared memory storage size
opcache.memory_consumption = 384

; Zend OPCache: max percentage of "wasted" memory until a restart is scheduled
opcache.max_wasted_percentage = 10

; Zend OPCache: amount of memory for interned strings ( in mbytes )
opcache.interned_strings_buffer = 16

; Zend OPCache: fast shutdown
opcache.fast_shutdown = 1

🇮🇹Italy trickfun

I have same error.
I cant apply path on 1.2-rc1 and dev version

Warning: Undefined array key "#parents" in Drupal\Core\Form\FormState->setError() (line 1168 of /var/www/html/web/core/lib/Drupal/Core/Form/FormState.php)
#0 /var/www/html/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'Undefined array...', '/var/www/html/w...', 1168)
#1 /var/www/html/web/core/lib/Drupal/Core/Form/FormState.php(1168): _drupal_error_handler(2, 'Undefined array...', '/var/www/html/w...', 1168)
#2 /var/www/html/web/core/lib/Drupal/Core/Field/WidgetBase.php(582): Drupal\Core\Form\FormState->setError(Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup))
#3 /var/www/html/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(291): Drupal\Core\Field\WidgetBase->flagErrors(Object(Drupal\address\Plugin\Field\FieldType\AddressFieldItemList), Object(Symfony\Component\Validator\ConstraintViolationList), Array, Object(Drupal\Core\Form\FormState))
#4 /var/www/html/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(273): Drupal\Core\Entity\Entity\EntityFormDisplay->flagWidgetsErrorsFromViolations(Object(Drupal\Core\Entity\EntityConstraintViolationList), Array, Object(Drupal\Core\Form\FormState))
#5 /var/www/html/web/modules/contrib/commerce/modules/order/src/Plugin/Commerce/InlineForm/CustomerProfile.php(341): Drupal\Core\Entity\Entity\EntityFormDisplay->validateFormValues(Object(Drupal\profile\Entity\Profile), Array, Object(Drupal\Core\Form\FormState))
#6 /var/www/html/web/modules/contrib/commerce/src/Plugin/Commerce/InlineForm/InlineFormBase.php(145): Drupal\commerce_order\Plugin\Commerce\InlineForm\CustomerProfile->validateInlineForm(Array, Object(Drupal\Core\Form\FormState))
#7 [internal function]: Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::runValidate(Array, Object(Drupal\Core\Form\FormState), Array)
#8 /var/www/html/web/core/lib/Drupal/Core/Form/FormValidator.php(281): call_user_func_array(Array, Array)
#9 /var/www/html/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#10 /var/www/html/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#11 /var/www/html/web/core/lib/Drupal/Core/Form/FormValidator.php(118): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState), 'commerce_checko...')
#12 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(593): Drupal\Core\Form\FormValidator->validateForm('commerce_checko...', Array, Object(Drupal\Core\Form\FormState))
#13 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(326): Drupal\Core\Form\FormBuilder->processForm('commerce_checko...', Array, Object(Drupal\Core\Form\FormState))
#14 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(224): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\MultistepDefault), Object(Drupal\Core\Form\FormState))
#15 /var/www/html/web/modules/contrib/commerce/modules/checkout/src/Controller/CheckoutController.php(143): Drupal\Core\Form\FormBuilder->getForm(Object(Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\MultistepDefault), 'order_informati...')
#16 [internal function]: Drupal\commerce_checkout\Controller\CheckoutController->formPage(Object(Drupal\Core\Routing\RouteMatch))
#17 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#18 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#19 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#20 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#21 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#22 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#23 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#35 {main}

Step to reproduce:
- Add product to cart
- Go to cart
- Go to checkout
- Select Italy as country in shipping information
- Select one province
- Change country. Ex: select Germany

form doesn't change.
thank you

🇮🇹Italy trickfun

Same error for me with drupal 10.3.6 and PHP 8.3
With Drupal 9 no error.

🇮🇹Italy trickfun

Same error for me with PHP 8.3

With PHP 8.2 works fine.
Thank you.

🇮🇹Italy trickfun

Thank cmlara
Drupal 10.2.2
S3fs 3.6

🇮🇹Italy trickfun

To remove jQuery dependencies like Drupal core and other modules.
May be the time to have better UX for this great module.

Thank you

🇮🇹Italy trickfun

The value of getPossibleCoreUpdateVersions function parameters:
I don't know if $this->existingCoreVersion value is right.

I hope can help
Thank you

🇮🇹Italy trickfun

Same error on drupal 10.2.7 but i can't apply patch MR 8619 or MR 5385
Thank you

🇮🇹Italy trickfun

I need to reinstall module to fix error.
Update from 3 to 4 version brokes something.

🇮🇹Italy trickfun

Hi mkalkbrenner,
this is my output

English search

Index: default_global_index
Keys: 'PMD05663'
Parsed keys: array (
    '#conjunction' => 'AND',
    0 => 'PMD05663',
  )
Searched fields: brand, field_codici_alias, machine_model, machine_type, rendered_item, sku, title, zone
Searched languages: en
Conditions:
  status = 1
Sorting: search_api_relevance DESC
Options: array (
    'search_api_view' => 'object (Drupal\\views\\ViewExecutable)',
    'search_api_included_languages' => 
    array (
      0 => 'en',
    ),
  )

Solr request rawData

omitHeader=false&TZ=Europe%2FRome&echoParams=all&wt=json&json.nl=flat&q=%7B%21boost+b%3Dboost_document%7D++%28tm_X3b_en_brand%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_brand%3A%28%2B%22PMD05663%22%29%5E5+tocedgestringm_X3b_en_field_codici_alias%3A%28%2B%22PMD05663%22%29%5E21+tocedgestringm_X3b_und_field_codici_alias%3A%28%2B%22PMD05663%22%29%5E21+tm_X3b_en_machine_model%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_machine_model%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_en_machine_type%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_machine_type%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_en_rendered_item%3A%28%2B%22PMD05663%22%29%5E1+tm_X3b_und_rendered_item%3A%28%2B%22PMD05663%22%29%5E1+tocedgestringm_X3b_en_sku%3A%28%2B%22PMD05663%22%29%5E21+tocedgestringm_X3b_und_sku%3A%28%2B%22PMD05663%22%29%5E21+tm_X3b_en_title%3A%28%2B%22PMD05663%22%29%5E13+tm_X3b_und_title%3A%28%2B%22PMD05663%22%29%5E13+tm_X3b_en_zone%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_zone%3A%28%2B%22PMD05663%22%29%5E5%29&start=0&rows=20&fl=ss_search_api_id%2Css_search_api_language%2Cscore%2Chash&sort=score+desc&fq=bs_status%3A%22true%22&fq=%2Bindex_id%3Adefault_global_index&fq=ss_search_api_language%3A%28%22en%22+%22und%22%29&debugQuery=true&debug.explain.structured=true&facet.field=%7B%21key%3Ditm_field_attribute_3_ref+ex%3Dfacet%3Afield_attribute_3_ref%7Ditm_field_attribute_3_ref&facet.field=%7B%21key%3Ditm_field_attribute_2_ref+ex%3Dfacet%3Afield_attribute_2_ref%7Ditm_field_attribute_2_ref&facet.field=%7B%21key%3Ditm_field_brand_ref+ex%3Dfacet%3Afield_brand_ref%7Ditm_field_brand_ref&facet.field=%7B%21key%3Ditm_field_attribute_4_ref+ex%3Dfacet%3Afield_attribute_4_ref%7Ditm_field_attribute_4_ref&f.itm_field_attribute_3_ref.facet.limit=-1&f.itm_field_attribute_3_ref.facet.missing=false&f.itm_field_attribute_2_ref.facet.limit=-1&f.itm_field_attribute_2_ref.facet.missing=false&f.itm_field_brand_ref.facet.limit=-1&f.itm_field_brand_ref.facet.missing=false&f.itm_field_attribute_4_ref.facet.limit=-1&f.itm_field_attribute_4_ref.facet.missing=false&facet=true&facet.sort=count&facet.limit=10&facet.mincount=1&facet.missing=false

Italian search

Index: default_global_index
Keys: 'PMD05663'
Parsed keys: array (
    '#conjunction' => 'AND',
    0 => 'PMD05663',
  )
Searched fields: brand, field_codici_alias, machine_model, machine_type, rendered_item, sku, title, zone
Searched languages: it
Conditions:
  status = 1
Sorting: search_api_relevance DESC
Options: array (
    'search_api_view' => 'object (Drupal\\views\\ViewExecutable)',
    'search_api_included_languages' => 
    array (
      0 => 'it',
    ),
  )

Solr request rawData

omitHeader=false&TZ=Europe%2FRome&echoParams=all&wt=json&json.nl=flat&q=%7B%21boost+b%3Dboost_document%7D++%28tm_X3b_it_brand%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_brand%3A%28%2B%22PMD05663%22%29%5E5+tocedgestringm_X3b_it_field_codici_alias%3A%28%2B%22PMD05663%22%29%5E21+tocedgestringm_X3b_und_field_codici_alias%3A%28%2B%22PMD05663%22%29%5E21+tm_X3b_it_machine_model%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_machine_model%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_it_machine_type%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_machine_type%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_it_rendered_item%3A%28%2B%22PMD05663%22%29%5E1+tm_X3b_und_rendered_item%3A%28%2B%22PMD05663%22%29%5E1+tocedgestringm_X3b_it_sku%3A%28%2B%22PMD05663%22%29%5E21+tocedgestringm_X3b_und_sku%3A%28%2B%22PMD05663%22%29%5E21+tm_X3b_it_title%3A%28%2B%22PMD05663%22%29%5E13+tm_X3b_und_title%3A%28%2B%22PMD05663%22%29%5E13+tm_X3b_it_zone%3A%28%2B%22PMD05663%22%29%5E5+tm_X3b_und_zone%3A%28%2B%22PMD05663%22%29%5E5%29&start=0&rows=20&fl=ss_search_api_id%2Css_search_api_language%2Cscore%2Chash&sort=score+desc&fq=bs_status%3A%22true%22&fq=%2Bindex_id%3Adefault_global_index&fq=ss_search_api_language%3A%28%22it%22+%22und%22%29&debugQuery=true&debug.explain.structured=true&facet.field=%7B%21key%3Ditm_field_attribute_3_ref+ex%3Dfacet%3Afield_attribute_3_ref%7Ditm_field_attribute_3_ref&facet.field=%7B%21key%3Ditm_field_attribute_2_ref+ex%3Dfacet%3Afield_attribute_2_ref%7Ditm_field_attribute_2_ref&facet.field=%7B%21key%3Ditm_field_brand_ref+ex%3Dfacet%3Afield_brand_ref%7Ditm_field_brand_ref&facet.field=%7B%21key%3Ditm_field_attribute_4_ref+ex%3Dfacet%3Afield_attribute_4_ref%7Ditm_field_attribute_4_ref&f.itm_field_attribute_3_ref.facet.limit=-1&f.itm_field_attribute_3_ref.facet.missing=false&f.itm_field_attribute_2_ref.facet.limit=-1&f.itm_field_attribute_2_ref.facet.missing=false&f.itm_field_brand_ref.facet.limit=-1&f.itm_field_brand_ref.facet.missing=false&f.itm_field_attribute_4_ref.facet.limit=-1&f.itm_field_attribute_4_ref.facet.missing=false&facet=true&facet.sort=count&facet.limit=10&facet.mincount=1&facet.missing=false

There are no difference.

🇮🇹Italy trickfun

Hi AdamPS.
Isn't a bug? Activation mail doesn't work when override.
Thank you

🇮🇹Italy trickfun

So.
Facets 2.0 with Drupal ^10.2 works fine. No patch applied, No strange behavior
Facets 2.0 with Drupal 10.3 doesn't work. Facets disappeared after click option.

When i refresh page I have this HTML element

<div class="facet-inactive block-facets-ajax js-facet-block-id-carsproductbrand block-facet--checkbox" id="block-carsproductbrand">

with all checkboxes. fine!!
after click one option i get correct json response

Object { command: "insert", method: "replaceWith", selector: "#block-carsproductbrand", … }

Html element is replaced by

<div class="facet-inactive block-facets-ajax js-facet-block-id-carsproductbrand hidden block-facet--checkbox" id="block-carsproductbrand--7fYNYNMIFpk">
<div data-drupal-facet-id="cars_product_brand" class="facet-empty facet-hidden">
<div class="facets-widget-checkbox">
</div>
</div>
</div>

Facets-widget-checkbox is empty.
Why first time facets-widget-checkbox element has options and new facets none?

Facets 2.0 on Drupal 10.3 with patch #221 - 3052574-221.patch works fine.
Hope can help someone.

🇮🇹Italy trickfun

None of the patches above work properly.
With today's dev version you can't install them.

Without patch module doesn't work.
When i select a checkbox all facets disappear.

what happens?

🇮🇹Italy trickfun

Patch doesn't work on 2.0
how can i display metatag values on view?

Thank you

🇮🇹Italy trickfun

Click "plain diff" link near MR !43 mergeable on top of the page.

🇮🇹Italy trickfun

I have same error
Drupal 10.3
drupal-4.3.4-solr-8.x-0
Solr 8.11.3

What's wrong?

File schema_extra_fields.xml could not be fetched from Solr server for validation: Solr endpoint http://solr_container:8983/ internal Solr server error (code: 500, body: { "responseHeader":{ "status":500, "QTime":2}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","java.lang.NullPointerException"], "trace":"org.apache.solr.common.SolrException\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:236)\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:2637)\n\tat org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:791)\n\tat org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:564)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:357)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)\n\tat org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177)\n\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)\n\tat org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:516)\n\tat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)\n\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\n\tat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)\n\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)\n\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)\n\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)\n\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)\n\tat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: java.lang.NullPointerException\n\tat org.apache.solr.handler.admin.ShowFileRequestHandler.getAdminFileFromFileSystem(ShowFileRequestHandler.java:361)\n\tat org.apache.solr.handler.admin.ShowFileRequestHandler.showFromFileSystem(ShowFileRequestHandler.java:201)\n\tat org.apache.solr.handler.admin.ShowFileRequestHandler.handleRequestBody(ShowFileRequestHandler.java:145)\n\tat
🇮🇹Italy trickfun

Thank you @cilefen
is lazy module
https://www.drupal.org/project/lazy/issues/3456911 🐛 PHP deprecation error with PHP 8.3.1 Needs review

Production build 0.71.5 2024