Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
imclean, hi sorry for late reposne, Yes, all works good with that option, I think it should go to main version ;)
Pawelgorski87 → created an issue.
This is example raw query when you don't add alias in $query->select('node_access'), there is 2x node_access
SELECT 1 AS "expression"
FROM
"node_access" "node_access"
WHERE ("grant_view" >= '1') AND ((("nid" = '22487') AND ("langcode" = 'pl')) OR ("nid" = '0')) AND ((("gid" IN ('0')) AND ("realm" = 'all')) OR (("gid" IN ('2'));
Repeating table names 2x is a syntax error, and SQL must process it. With small queries, it's not noticeable, but we had a lot of users where grants were being generated for about 6000-8000 users at once. Without this change, the MySQL server would crash as it couldn't process the queries. Adding an alias in the code generated the correct syntax, and the problem disappeared.
Not sure it it relevant but i did some small test on small query and there is 0.0001s diffs between queries. (screen)
Hi, yes i'm working on that
Hmm i think problem was in our project. Works on clean instance.
@smustgrave Sorry, I forgot about that issue, yes it affected all Drupals, select without alias genere 'small' syntax error, sql will handle that but lose performance. Tested on big table grands with +30k items.
PR is ready
Pawelgorski87 → created an issue.
For me help add moderation_state field to Sort criteria section, then sort in table header stop return error.
PR & Patch updated, Sorry I rarely use these tools ;)
PR & Pach updated, Sorry I rarely use these tools ;)
I used "drupal/google_calendar_service": "3.0.x-dev@dev", on drupal 10.1.8
Pawelgorski87 → created an issue.
Great, thx
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Sorry I put wrong version. I tested on 3.3.10.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Working also on Drupal 10
@catch, I checked and found that:
<script type="application/vnd.drupal-ajax" data-big-pipe-replacement-for-placeholder-with-id="callback=profile.lazy_load_callbacks%3ArenderMarkup&args%5B0%5D=getFirstName&args%5B1%5D&token=WE7nT_ET1Ho6EgZoIU13pAeumXWjEVSpayPEjH2qttw">
[{"command":"insert","method":"replaceWith","selector":"[data-big-pipe-placeholder-id=\u0022callback=profile.lazy_load_callbacks%3ArenderMarkup\u0026args%5B0%5D=getFirstName\u0026args%5B1%5D\u0026token=WE7nT_ET1Ho6EgZoIU13pAeumXWjEVSpayPEjH2qttw\u0022]","data":"RXXXXX","settings":null}]
</script>
is here, in my case RXXXXX should be replace with palceholder. So data coma from backend but was not put in correct place.
have te same issue after update Drupal from 8.1 to 8.2. Some placeholders randomly were not rendered.
Hi, imclean, I know how to set a header, but earlier non coders users just download that module and just check HTML mails. After that every mails were send by html. Now they have to add some extra modules etc... . I fixed my project in hook_alter. Maybe there should be 3 option in settings? something like - send all email as html?
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Hello, thx for quick response, so our case, we have custom module where
we have function, which is run in quee:
$params = [
'subject' => $subject,
'body' => $mail,
];
$this->mailManager->mail('notifications', 'notification', $email, 'en', $params);
where $mail is string with html css etc from twig.
We have to setup header html manually in that case?
in 2.2.3 mail have 2 versions - plain and html, now in our case only plain text is sent.
I debug today and in our case format HTML i changed to $format = 'plain_text'; in 386 line
Pawelgorski87 → created an issue. See original summary → .
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Patch for 10.1.6
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.
Pawelgorski87 → created an issue.