Composer patch submodules

Hello all,

I am trying to patch a submodule: jsonapi_defaults installed with jsonapi_extras (modules/jsonapi_extras/jsonapi_defaults) using composer on Drupal 8.9.10.

I tried the following:

    "extra": {
         "patches": {
        "drupal/jsonapi_extras" : {
        "Configurable JSON:API Max Limit": "https://www.drupal.org/files/issues/2020-08-09/max-page-limit-configurable_2884292_17.patch"
         }
        },

But was not able to apply patch to the submodule.

Thanks in advance.

Anyone have ideas on how to use Backblaze B2 as storage for public and private files?

Backblaze b2 is some of the most affordable storage I have found. I'm currently working on a personal site that could use 100's of gb's of space if I can make it work the way I hope. So b2 seems like my best bet for something relatively affordable.

They have a S3 compatible API, so I am trying s3fs and flysystem_s3. But I keep having weird issues. I'm still trying to understand the issues enough to make an intelligent support request.

In the meantime, does anyone have any other suggestions on how I can make b2 my storage backend?

Issue Updating Drupal Core (Acquia Dev Desktop / Cloud Platform)

Hi,

I recently updated my drupal site's core from 8.9.9 to 8.9.10. I had no issues doing this locally, and I had assumed that pushing changes to my code/db/files up to Acquia's Cloud Dev would cause the core update to also be reflected in the cloud version of the site. However, the cloud version still says I'm on 8.9.9 and need to update. Not sure what the problem is, any advice would be appreciated.

Thanks.

Was this a Drupal attack vector?

A customer site on 8.9.6 got a virus scan alert when Apache 2.4 dropped a file in the Windows Temp folder, which is where Drupal has set tmp files to go.

Looking at the logs, this is the only successful POST I find:

"POST /index.php?s=captcha HTTP/1.1" 200

And its payload, removed:

C:\Windows\Temp\phpF0CC.tmp

Was this a precursor to the file upload attack that would have been resolved by core 8.9.9 ? This occured well before the security advisory was posted for it.

None of the intermediate core updates were a security concern.

Nested taxonomy checkboxes in custom form

Hello,

In my custom form I'am trying to get values from a nested taxonomy checkboxes field.

$form['test'] = [
'#type' => 'checkboxes',
'#title' => t('title'),
0 => array(
'#type' => 'checkboxes',
'#options' => array('1' => 'one'),
0 => array(
'#type' => 'checkboxes',
'#options' => array('2' => 'two'),
),
),
1 => array('#type' => 'checkboxes',
'#options' => array('3' => 'three'),
),
];

How to offer shipping costs for orders over $ 50 ?

Hi, there is no recent documentation for the "Commerce Shipping" module.
How to offer shipping costs for orders over $ 50 ?
I don't see any settings in the shipping methods.
It would be nice to have a check mark to offer shipping costs and a text box to enter the order amount.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x