🇦🇹Austria @maxilein

Account created on 10 November 2010, over 14 years ago
#

Recent comments

🇦🇹Austria maxilein

Thank you!
I did not know that existed. I will look into it.

🇦🇹Austria maxilein

It is working on D11.2 just fine. Please make a new release or add a co maintainer ...

🇦🇹Austria maxilein

Thank you that css works.
Is there a template that I can override in order to not force the remaining fields to be inside that layout-region-node-secondary?

🇦🇹Austria maxilein

This is the message on the /admin/reports/updates page:

Views Summarize 1.1.x-dev (2021-Feb-20)
Project not supported: This project is no longer supported, and is no longer available for download. Uninstalling everything included by this project is strongly recommended!
Includes: Views summarize

And that seems different from the module's homepage. Further I am using it on Drupal 11.2 with no problems at all.

🇦🇹Austria maxilein

I completely agree with you on this: The Drupal site builder/developer needs to attend to these Views, and fix them, regardless if it's 1 or 100.

But it should always be the developers decision on how to approach that.
If I want to get stuff out of a site immediately (for whatever reason) - it is my decision on how to deal with the fallout.
That's why transparency is key.

And since the current warning already lists impacted nodes it cannot be too difficult to provide some more meta information from inside that same routine.

🇦🇹Austria maxilein

There are more scenarios we should take into consideration and it should always be the admin's responsibility how he wants to proceed.
Why? Because the approach of blocking the uninstall of a module is doable if you have a few views that you can adapt quickly. But if you have very many views and entity types on a large site the invalidation of them can be the approach with lesser pain and cost.
There are two problems:
Finding out which items are affected.
Fixing them.

Also in a dev environment you sometimes realize too late (once you have built lots of stuff with it) that a certain module is faulty or breaking some other much more important functionality so you have to be able to remove it easily.
Then invalidating items (views, entity fields,..) is the better approach, because it may break the site to some extend, but you can still access the configuration of the views and fix it. Invalidation just breaks parts of the site. While a faulty module that cannot be uninstalled can break everything.
If we offer an approach where the admin or dev can make the judgement regarding the path with the lesser pain - would be best in my opinion.

We need to be better in these things at least:
a) Show a warning: just listing the nodes in the gui before deletion is not good enough. If you have many views (100+) you cannot properly take notes for each of them. So also add one single(!) log message that lists all nodes including links to get there and if possible the particular information of configuration changes that will be made - if the admin procedes. This log message can be used as a task list for fixing things - even if the admin/dev does not procede and cancels deletion.
b) Create a log message the admin/dev can work with. see a) and create a very informative task list. Ideally something where I can derive a judgement of which effects the uninstall will have (e.g. is it just views, is it the display of entities, will widgets go missing, ...). We have all this information in the database, right?
c) let the admin/dev decide if he wants to delete OR invalidate affected entities - depending on his knowledge of the site.

🇦🇹Austria maxilein

I will try this module and see if it can make a difference: https://www.drupal.org/project/modules_weight and post back soon.

🇦🇹Austria maxilein

solo-utils.js is loaded after the solo-menu.js ...

🇦🇹Austria maxilein

sorry for bothering you.

🇦🇹Austria maxilein

Further testing shows that the Fixed Search Block also works when there is something in the header.

🇦🇹Austria maxilein

Maybe it is important to know that I changed the order of the primary menu above the header.

🇦🇹Austria maxilein

Maybe it is important to know that I changed the order of the primary menu above the header.

🇦🇹Austria maxilein

Thank you I figured. But to make the module consistent with the legal requirements before other people download it seems reasonable.

🇦🇹Austria maxilein

Then the license is ok now. Thank you for your help.

🇦🇹Austria maxilein

Thank you.

What happens to in line 307? Is it automatically replaced also?

At https://spdx.org/licenses/GPL-2.0-or-later.html it is recommended to add some header:

Formatted Number Input for Drupal
Copyright (C) 2025 maxilein

This program is free software; you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 2 of the License, or (at
 your option) any later version.

This program is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
General Public License for more details:

But that is not required, is it? Then I would just delete that header if the rest gets automatically replaced.

🇦🇹Austria maxilein

Thank you.
I am very confused about that license and where to obtain the original. https://www.gnu.org/licenses/old-licenses/gpl-2.0.html does not exist any longer.
Should I just copy the license file of Drupal core?

🇦🇹Austria maxilein

I have created a version that works for me. Here is the patch. Please check thoroughly I have not tested all functionality.
Maybe someone can work that into git. I don't know how I would that.

🇦🇹Austria maxilein

I can confirm: it is gone in Drupal 11.2

🇦🇹Austria maxilein

There is also an issue in core views: https://www.drupal.org/project/drupal/issues/2735997 🐛 Decimal separator and decimals settings ignored when aggregating decimal fields Needs work

🇦🇹Austria maxilein

And what should be the difference to the core menu block, anyway?

🇦🇹Austria maxilein

This solution works: https://www.drupal.org/project/token_views_filter/issues/3499480#comment... 🐛 WSOD when filtering by Date field Active

🇦🇹Austria maxilein

Uplifted bug, because it block site upgrade.

🇦🇹Austria maxilein

I am facing the same error while upgrading to Drupal 11.2 running drush updb

------------------- ----------------- --------------- ------------------------
Module Update ID Type Description
------------------- ----------------- --------------- ------------------------
system 11200 hook_update_n 11200 - Add a [time]
column to the
{simpletest} table, if
existing.
system 11201 hook_update_n 11201 - Add the
[alias] field to the
{router} table.
block set_menu_block_ post-update Updates the `depth`
depth_to_null_i setting to NULL if it
f_zero is 0 in any menu
blocks.
file add_playsinline post-update Adds a value for the
'playsinline' setting
of the 'file_video'
formatter.
system convert_empty_d post-update Updates
escription_enti entity_form_mode
ty_form_modes_t descriptions from
o_null empty string to null.
system remove_path_key post-update Remove path key in
system.file.
update clear_disk_cach post-update Removes the legacy
e 'Update Manager' disk
cache.
views_data_export xml_encoding post-update Post update data
export views to
preserve original XML
encoding.
views block_items_per post-update Defaults
_page `items_per_page` to
NULL in Views blocks.
views table_css_class post-update Adds a default table
CSS class.
views update_remember post-update Clean-up empty
_role_empty remember_roles display
settings for views
filters.
------------------- ----------------- --------------- ------------------------

┌ Do you wish to run the specified pending updates? ───────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘

> [notice] Update started: system_update_11200
> [notice] Update completed: system_update_11200
> [notice] Update started: system_update_11201
> [notice] Update completed: system_update_11201
> [notice] Update started: block_post_update_set_menu_block_depth_to_null_if_zero
> [notice] Update completed: block_post_update_set_menu_block_depth_to_null_if_zero
> [notice] Update started: file_post_update_add_playsinline
> [notice] Update completed: file_post_update_add_playsinline
> [notice] Update started: system_post_update_convert_empty_description_entity_form_modes_to_null
> [notice] Update completed: system_post_update_convert_empty_description_entity_form_modes_to_null
> [notice] Update started: system_post_update_remove_path_key
> [notice] Update completed: system_post_update_remove_path_key
> [notice] Update started: update_post_update_clear_disk_cache
> [notice] Update completed: update_post_update_clear_disk_cache
> [notice] Update started: views_data_export_post_update_xml_encoding
> [notice] Update completed: views_data_export_post_update_xml_encoding
> [notice] Update started: views_post_update_block_items_per_page
> [notice] Update completed: views_post_update_block_items_per_page
> [notice] Update started: views_post_update_table_css_class
> PHP Fatal error: Declaration of Drupal\token_views_filter\TokensDateFilterTrait::validateExposed(&$form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\datetime\Plugin\views\filter\Date::validateExposed(&$form, Drupal\Core\Form\FormStateInterface $form_state): void in /var/www/web/modules/contrib/token_views_filter/src/TokensDateFilterTrait.php on line 32
> [warning] Drush command terminated abnormally.

In ProcessBase.php line 155:

Output is empty.

🇦🇹Austria maxilein

Thank you, again!

May I ask: Does it calculate the Slide Gap also?
And when will the carousel check the actual container width: does it do this on page load or also on resize of the browser window?

🇦🇹Austria maxilein

Don't get me wrong. I really don't care about the credit system ... I am not advertising on drupal.org in any way. Not my personal name, not my companies name ...

I am using Drupal for more than 10 years. Such a module did not exist. So I built it. It took me a week even though I used the help of AI.
And of course I will be using modern technologies.

And yes the module description aims to give the Drupal beginner and a developer who wants to improve the code more orientation than most modules do. It drives me nuts that Drupal is so badly documented.

Tell me where I can opt-out of the credit system.

🇦🇹Austria maxilein

Thank you. Without any bad intent. Where do I mention this?

🇦🇹Austria maxilein

FILE: /var/www/web/modules/custom/formatted_number_input/readme.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | WARNING | Line exceeds 80 characters; contains 242 characters
3 | WARNING | Line exceeds 80 characters; contains 274 characters
8 | WARNING | Line exceeds 80 characters; contains 81 characters
61 | WARNING | Line exceeds 80 characters; contains 81 characters
170 | WARNING | Line exceeds 80 characters; contains 99 characters
200 | WARNING | Line exceeds 80 characters; contains 82 characters
244 | WARNING | Line exceeds 80 characters; contains 81 characters
267 | WARNING | Line exceeds 80 characters; contains 113 characters
----------------------------------------------------------------------

FILE: /var/www/web/modules/custom/formatted_number_input/formatted_number_input.module
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------
33 | WARNING | Line exceeds 80 characters; contains 136 characters
35 | WARNING | Line exceeds 80 characters; contains 94 characters
37 | WARNING | Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------------------

FILE: /var/www/web/modules/custom/formatted_number_input/LICENSE.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 91 WARNINGS AFFECTING 91 LINES
----------------------------------------------------------------------
8 | WARNING | Line exceeds 80 characters; contains 118 characters
11 | WARNING | Line exceeds 80 characters; contains 97 characters
13 | WARNING | Line exceeds 80 characters; contains 515 characters
15 | WARNING | Line exceeds 80 characters; contains 401 characters
17 | WARNING | Line exceeds 80 characters; contains 277 characters
19 | WARNING | Line exceeds 80 characters; contains 290 characters
21 | WARNING | Line exceeds 80 characters; contains 202 characters
23 | WARNING | Line exceeds 80 characters; contains 307 characters
25 | WARNING | Line exceeds 80 characters; contains 674 characters
27 | WARNING | Line exceeds 80 characters; contains 403 characters
29 | WARNING | Line exceeds 80 characters; contains 83 characters
35 | WARNING | Line exceeds 80 characters; contains 107 characters
37 | WARNING | Line exceeds 80 characters; contains 178 characters
39 | WARNING | Line exceeds 80 characters; contains 264 characters
41 | WARNING | Line exceeds 80 characters; contains 84 characters
43 | WARNING | Line exceeds 80 characters; contains 389 characters
45 | WARNING | Line exceeds 80 characters; contains 205 characters
47 | WARNING | Line exceeds 80 characters; contains 532 characters
50 | WARNING | Line exceeds 80 characters; contains 148 characters
52 | WARNING | Line exceeds 80 characters; contains 263 characters
54 | WARNING | Line exceeds 80 characters; contains 669 characters
56 | WARNING | Line exceeds 80 characters; contains 795 characters
58 | WARNING | Line exceeds 80 characters; contains 136 characters
63 | WARNING | Line exceeds 80 characters; contains 474 characters
65 | WARNING | Line exceeds 80 characters; contains 678 characters
67 | WARNING | Line exceeds 80 characters; contains 156 characters
70 | WARNING | Line exceeds 80 characters; contains 272 characters
72 | WARNING | Line exceeds 80 characters; contains 442 characters
75 | WARNING | Line exceeds 80 characters; contains 453 characters
77 | WARNING | Line exceeds 80 characters; contains 127 characters
80 | WARNING | Line exceeds 80 characters; contains 206 characters
82 | WARNING | Line exceeds 80 characters; contains 102 characters
83 | WARNING | Line exceeds 80 characters; contains 218 characters
84 | WARNING | Line exceeds 80 characters; contains 439 characters
85 | WARNING | Line exceeds 80 characters; contains 230 characters
87 | WARNING | Line exceeds 80 characters; contains 567 characters
90 | WARNING | Line exceeds 80 characters; contains 213 characters
92 | WARNING | Line exceeds 80 characters; contains 230 characters
93 | WARNING | Line exceeds 80 characters; contains 678 characters
94 | WARNING | Line exceeds 80 characters; contains 278 characters
95 | WARNING | Line exceeds 80 characters; contains 773 characters
96 | WARNING | Line exceeds 80 characters; contains 227 characters
98 | WARNING | Line exceeds 80 characters; contains 176 characters
100 | WARNING | Line exceeds 80 characters; contains 830 characters
102 | WARNING | Line exceeds 80 characters; contains 443 characters
104 | WARNING | Line exceeds 80 characters; contains 640 characters
106 | WARNING | Line exceeds 80 characters; contains 475 characters
108 | WARNING | Line exceeds 80 characters; contains 298 characters
111 | WARNING | Line exceeds 80 characters; contains 538 characters
113 | WARNING | Line exceeds 80 characters; contains 397 characters
115 | WARNING | Line exceeds 80 characters; contains 207 characters
117 | WARNING | Line exceeds 80 characters; contains 118 characters
118 | WARNING | Line exceeds 80 characters; contains 180 characters
119 | WARNING | Line exceeds 80 characters; contains 193 characters
120 | WARNING | Line exceeds 80 characters; contains 99 characters
121 | WARNING | Line exceeds 80 characters; contains 114 characters
122 | WARNING | Line exceeds 80 characters; contains 299 characters
124 | WARNING | Line exceeds 80 characters; contains 587 characters
126 | WARNING | Line exceeds 80 characters; contains 231 characters
128 | WARNING | Line exceeds 80 characters; contains 172 characters
131 | WARNING | Line exceeds 80 characters; contains 297 characters
133 | WARNING | Line exceeds 80 characters; contains 369 characters
135 | WARNING | Line exceeds 80 characters; contains 361 characters
137 | WARNING | Line exceeds 80 characters; contains 303 characters
140 | WARNING | Line exceeds 80 characters; contains 540 characters
143 | WARNING | Line exceeds 80 characters; contains 262 characters
145 | WARNING | Line exceeds 80 characters; contains 601 characters
147 | WARNING | Line exceeds 80 characters; contains 464 characters
150 | WARNING | Line exceeds 80 characters; contains 205 characters
152 | WARNING | Line exceeds 80 characters; contains 548 characters
154 | WARNING | Line exceeds 80 characters; contains 256 characters
156 | WARNING | Line exceeds 80 characters; contains 372 characters
158 | WARNING | Line exceeds 80 characters; contains 881 characters
160 | WARNING | Line exceeds 80 characters; contains 431 characters
162 | WARNING | Line exceeds 80 characters; contains 937 characters
164 | WARNING | Line exceeds 80 characters; contains 189 characters
167 | WARNING | Line exceeds 80 characters; contains 643 characters
170 | WARNING | Line exceeds 80 characters; contains 500 characters
173 | WARNING | Line exceeds 80 characters; contains 251 characters
175 | WARNING | Line exceeds 80 characters; contains 499 characters
177 | WARNING | Line exceeds 80 characters; contains 241 characters
179 | WARNING | Line exceeds 80 characters; contains 209 characters
182 | WARNING | Line exceeds 80 characters; contains 545 characters
185 | WARNING | Line exceeds 80 characters; contains 602 characters
188 | WARNING | Line exceeds 80 characters; contains 377 characters
193 | WARNING | Line exceeds 80 characters; contains 214 characters
195 | WARNING | Line exceeds 80 characters; contains 273 characters
215 | WARNING | Line exceeds 80 characters; contains 120 characters
222 | WARNING | Line exceeds 80 characters; contains 218 characters
224 | WARNING | Line exceeds 80 characters; contains 254 characters
226 | WARNING | Line exceeds 80 characters; contains 406 characters
----------------------------------------------------------------------

FILE: /var/www/web/modules/custom/formatted_number_input/src/Plugin/Field/FieldFormatter/FormattedNumberAsWidgetFormatter.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------
18 | WARNING | Line exceeds 80 characters; contains 84 characters
132 | WARNING | Line exceeds 80 characters; contains 88 characters
168 | WARNING | Line exceeds 80 characters; contains 81 characters
-----------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/web/modules/custom/formatted_number_input/src/Plugin/Field/FieldWidget/FormattedNumberWidget.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 13 WARNINGS AFFECTING 13 LINES
-----------------------------------------------------------------------------------------------------------------------
165 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
265 | WARNING | Line exceeds 80 characters; contains 81 characters
314 | WARNING | #options values usually have to run through t() for translation
315 | WARNING | #options values usually have to run through t() for translation
316 | WARNING | #options values usually have to run through t() for translation
317 | WARNING | #options values usually have to run through t() for translation
338 | WARNING | Unused variable $default_symbol_placement_lang.
413 | WARNING | #options values usually have to run through t() for translation
414 | WARNING | #options values usually have to run through t() for translation
415 | WARNING | #options values usually have to run through t() for translation
416 | WARNING | #options values usually have to run through t() for translation
510 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
542 | WARNING | Unused variable $placement_label.
-----------------------------------------------------------------------------------------------------------------------

🇦🇹Austria maxilein

PHPCBF RESULT SUMMARY
--------------------------------------------------------------------------------------------------------------------------------------------
FILE FIXED REMAINING
--------------------------------------------------------------------------------------------------------------------------------------------
/var/www/web/modules/custom/formatted_number_input/formatted_number_input.libraries.yml 1 0
/var/www/web/modules/custom/formatted_number_input/tests/src/Unit/UnformatValueTest.php 27 0
/var/www/web/modules/custom/formatted_number_input/tests/src/Kernel/FormattedNumberFieldTest.php 6 0
/var/www/web/modules/custom/formatted_number_input/formatted_number_input.info.yml 1 0
/var/www/web/modules/custom/formatted_number_input/formatted_number_input.module 68 3
/var/www/web/modules/custom/formatted_number_input/config/schema/formatted_number_input.schema.yml 1 0
/var/www/web/modules/custom/formatted_number_input/src/Plugin/Field/FieldFormatter/FormattedNumberAsWidgetFormatter.php 19 3
/var/www/web/modules/custom/formatted_number_input/src/Plugin/Field/FieldWidget/FormattedNumberWidget.php 33 13
--------------------------------------------------------------------------------------------------------------------------------------------
A TOTAL OF 156 ERRORS WERE FIXED IN 8 FILES
--------------------------------------------------------------------------------------------------------------------------------------------

🇦🇹Austria maxilein

I could solve it by playing around with image sizes and width settings.
Can I ask you if it would make a difference to use responsive image styles for the images? Because I could not see any.

🇦🇹Austria maxilein

One should mention that it underlies the float max precision of php which is 15.

🇦🇹Austria maxilein

Most modern file systems have longer naming possibilities.

And why not use standardized abbreviations for common Drupal constructs: like bundle_settings.taxonomy_term could as well be bs.tt then you would have much more room for an intuitive naming convention that reflects the individual aspects of a site.

🇦🇹Austria maxilein

Changed to Major and BUG because it causes a lot of headaches outside of gin...

🇦🇹Austria maxilein

Also see this comment. https://www.drupal.org/project/save_edit/issues/3528935#comment-16138378 🐛 Save_edit in GIN admin theme in Drupal CMS (11) hardly accessible Active
It shows that is impossible to rely on gin functionality in this matter.

🇦🇹Austria maxilein

Sorry I was in the wrong. I used Version: 8.x-1.8 not the current dev version of save_ edit

🇦🇹Austria maxilein

Thinking about that issue and finding others having problems with it (e.g. https://www.drupal.org/project/workflow/issues/3458569 Support Gin action item Active )- I have to say that I get the impression that there is something inherently wrong with the gin approach of putting its own functionality buttons above other modules.
Requiring the other modules to flag theme(!) specific attributes will only clutter the drupal code and cause
"Latest version of Gin Admin theme hides actions behind a more actions button unless it is identified as a #gin_action_item."

In how many modules do you expect to find #gin_action_item in the code?!

So I suggest:

Treat all functionality of any module as equal. Therefore making it configurable by admins: per entity type which buttons appear outside of the more actions menu and in which order.

I also think it is a major issue, since it concerns many other modules.

🇦🇹Austria maxilein

Whatever this line does
if ($config->get('gin_primary')) {: Maybe the problem is that I use gin for admin theme (not main theme) and to edit content?

🇦🇹Austria maxilein

If I change save_edit.module line 57:

     if ($config->get('gin_primary')) {
        $form['actions']['save_edit']['#gin_action_item'] = TRUE;
      }

to

      /*if ($config->get('gin_primary')) {*/
        $form['actions']['save_edit']['#gin_action_item'] = TRUE;
      /*}*/

it works and is visible alongside the save button.

🇦🇹Austria maxilein

A rookie question: Does ConfigEntityBundleBase also comprise blocks and paragraphs?

🇦🇹Austria maxilein

Mentioning this issue may cause problems in the future for some.
https://www.drupal.org/project/drupal/issues/3070381 🐛 Base theme libraries may be output in reverse order Active

🇦🇹Austria maxilein

Thank you as always for your help.

Just to report back: I cannot reproduce the erratic behaviour. I had played with the custom.css without css aggregation disabled for quite some time.
I then changed my maxilein.libraries.yml according to https://www.drupal.org/project/drupal/issues/3070381 🐛 Base theme libraries may be output in reverse order Active to this: adding dependencies.. etc. did not change anything.
Then I re-added the weight. Changed nothing...
So out of desperation I enabled css aggregation. Changed nothing.
I played around with the settings, drush cr.
Disabled css aggregation again.
Suddenly it worked. I really don't know why.
I even tried to remove the dependency and in the end the weight only would also work.
So I still left my maxilein.libraries.yml like this:

maxilein-global:
  css:
    theme:
     css/maxilein-style.css: {weight: 400}
  dependencies:
    - solo/solo-global
  js:
    js/maxilein-script.js: {}
🇦🇹Austria maxilein

It completely varies by element. I cannot detect a pattern. Sometimes there are 3 or more other css loaded after my custom css.

🇦🇹Austria maxilein

maybe this helps: https://www.drupal.org/forum/support/post-installation/2023-12-19/solved...

Or this https://www.drupal.org/project/drupal/issues/3467860 🐛 Logic error in Drupal's lazy load for asset aggregation Active

And here ( https://www.drupal.org/node/3473558 ) it says: "In general, libraries should avoid setting custom weights where possible, and rely on properly declaring dependencies between libraries instead wherever possible."

And another very long standing issue here: https://www.drupal.org/project/drupal/issues/1945262 📌 Replace custom weights with dependencies in library declarations; introduce "before" and "after" for conditional ordering Needs work

🇦🇹Austria maxilein

paragraphs-bundles-custom.css still loads after maxilein-style.css
no matter whether it is in maxilein.info.yml or maxilein.libraries.yml
many drush cr ...

🇦🇹Austria maxilein

Thank you. But you are meaning in the maxilein.libraries.yml, right?

🇦🇹Austria maxilein

Making title more descriptive

🇦🇹Austria maxilein

Since it is already working that way we can also add the drupal_user permissions later - or during review.

🇦🇹Austria maxilein

To make it easier for anyone to find the open questions:

TODO: I have to mention that with this config I could only get the solr User to connect from search_api - not the drupal_user. I am missing some permissions in the security.json. (see // ---- Permissions for 'drupal_role' for Collection 'core2025' ---- above)
Someone can please point to the correct settings for the drupal_user here! thank you.

🇦🇹Austria maxilein

I would also like to mention this issue: it may be a solution - at least temporary https://www.drupal.org/project/search_api/issues/3069515 💬 Silence the warnings: An overlong word (more than 50 characters) ... Needs work

🇦🇹Austria maxilein

I run into the same problems using search_api_solr. When large base64 encoded images are embedded in the body it makes the SOLR go out of bounds. Probably because I am using ngramstring which has a quardratic memory consumption.
Maybe an option to explicitly treat base64 encoded stuff in strings would be an idea.

I am using Drupal 11.1.7 and SOLR 9.8.1

🇦🇹Austria maxilein

I would like to add this error in case someone else falls into this "trap". And by searching for this error the solution might come up faster for someone else ... than it did for me.

The solution was to add
SOLR_OPTS="$SOLR_OPTS -Dsolr.config.lib.enabled=true"
in /etc/default/solr.in.sh

After installing a new SOLR 9.8.1 I received the following error right after upload of the Drupal config.xml

org.apache.solr.core.SolrCoreInitializationException: SolrCore 'corename' is not available due to init failure: Could not load conf for core fuez2025: Can't load schema /var/solr/data/fuez2025/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"collated_en\"

"error":{
    "metadata":["error-class","org.apache.solr.core.SolrCoreInitializationException","root-error-class","java.lang.ClassNotFoundException"],
    "msg":"SolrCore 'corename' is not available due to init failure: Could not load conf for core corename: Can't load schema /var/solr/data/corename/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"collated_en\":  Error loading class 'solr.ICUCollationField'",
    "trace":"org.apache.solr.core.SolrCoreInitializationException: SolrCore 'corename' is not available due to init failure: Could not load conf for core corename: Can't load schema /var/solr/data/corename/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"collated_en\":  Error loading class 'solr.ICUCollationField'\n\tat org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:2298)\n\tat org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:2267)\n\tat org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:239)\n\tat org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:523)\n\tat org.apache.solr.servlet.SolrDispatchFilter.dispatch(SolrDispatchFilter.java:241)\n\tat org.apache.solr.servlet.SolrDispatchFilter.lambda$doFilterRetry$0(SolrDispatchFilter.java:198)\n\tat org.apache.solr.servlet.ServletUtils.traceHttpRequestExecution2(ServletUtils.java:227)\n\tat org.apache.solr.servlet.ServletUtils.rateLimitRequest(ServletUtils.java:197)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilterRetry(SolrDispatchFilter.java:192)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:181)\n\tat javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:97)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:598)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1580)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1553)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)\n\tat org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:228)\n\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:141)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:301)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:822)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:563)\n\tat org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)\n\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)\n\tat org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:461)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:193)\n\tat org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:208)\n\tat org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:116)\n\tat org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)\n\tat org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)\n\tat org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)\n\tat org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)\n\tat org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)\n\tat org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\nCaused by: org.apache.solr.common.SolrException: Could not load conf for core corename: Can't load schema /var/solr/data/corename/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"collated_en\":  Error loading class 'solr.ICUCollationField'\n\tat org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:291)\n\tat org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1735)\n\tat org.apache.solr.core.CoreContainer.lambda$loadInternal$12(CoreContainer.java:1080)\n\tat com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:212)\n\tat org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:380)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\t... 1 more\nCaused by: org.apache.solr.common.SolrException: Can't load schema /var/solr/data/corename/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"collated_en\":  Error loading class 'solr.ICUCollationField'\n\tat org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:663)\n\tat org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:193)\n\tat org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:109)\n\tat org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:370)\n\tat org.apache.solr.core.ConfigSetService.lambda$loadConfigSet$0(ConfigSetService.java:281)\n\tat org.apache.solr.core.ConfigSet.<init>(ConfigSet.java:49)\n\tat org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:277)\n\t... 7 more\nCaused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType \"collated_en\":  Error loading class 'solr.ICUCollationField'\n\tat org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:179)\n\tat org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:538)\n\t... 13 more\nCaused by: org.apache.solr.common.SolrException:  Error loading class 'solr.ICUCollationField'\n\tat org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:553)\n\tat org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:615)\n\tat org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:609)\n\tat org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:74)\n\tat org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:43)\n\tat org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:144)\n\t... 14 more\nCaused by: java.lang.ClassNotFoundException: solr.ICUCollationField\n\tat java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)\n\tat java.base/java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:872)\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)\n\tat java.base/java.lang.Class.forName0(Native Method)\n\tat java.base/java.lang.Class.forName(Class.java:534)\n\tat java.base/java.lang.Class.forName(Class.java:513)\n\tat org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:537)\n\t... 19 more\n",

    "code":500
Production build 0.71.5 2024