🇨🇭Switzerland @mathilde_dumond

Account created on 13 November 2019, over 5 years ago
#

Merge Requests

More

Recent comments

🇨🇭Switzerland mathilde_dumond

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

🇨🇭Switzerland mathilde_dumond

The proposed solution uses the sanitized version of the job name, but that could also lead to confusions, for example the automatic name of a job is the node name, so if the same node is translated again in the future, or in several languages through several jobs, then that solution would not work.
We propose to use together the job id, and the timestamp of the created time. Chances that two jobs with the same id are submitted at the same time to the second between 2 different websites sound reasonable enough to rely on that.

🇨🇭Switzerland mathilde_dumond

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

🇨🇭Switzerland mathilde_dumond

I have removed the possibility to do continuous jobs from the integration, so this way it's not offering the option if it's broken.

🇨🇭Switzerland mathilde_dumond

I added a destructor but no idea how to test it, since we ran into this issue only if we run into a fatal error earlier. I'm also wondering if adding this could mean that we can remove some of the disconnect() calls that are in the API class.

🇨🇭Switzerland mathilde_dumond

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

🇨🇭Switzerland mathilde_dumond

I have added that, and also a test for this change. I have run the test locally and it fails without the change, not sure how it works to test the failing tests now that we don't use patches anymore?

🇨🇭Switzerland mathilde_dumond

Pushed a fix, but tests are missing. We have a test locally that passes with that.

🇨🇭Switzerland mathilde_dumond

Pushed a fix on the API that allows to pull translated content.

🇨🇭Switzerland mathilde_dumond

Thanks for the review, that's done

🇨🇭Switzerland mathilde_dumond

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

🇨🇭Switzerland mathilde_dumond

Hey thanks @ananya.k, there were some parenthesis problems in your patch, but I'm fixing this. This change is also breaking for drupal versions earlier than 10.1, so we're handling that so that websites with D9 do not break.
There are a few more deprecations that I am fixing in the MR (follows shortly)

🇨🇭Switzerland mathilde_dumond

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

🇨🇭Switzerland mathilde_dumond

I prepared a commit, but I can't push it :sob:

Adding a patch for now until I figure this out

🇨🇭Switzerland mathilde_dumond

I was running into the same problem, and the following patch fixed it for me.

🇨🇭Switzerland mathilde_dumond

Tested that on another of our websites and it got rid of the deprecation notice.

🇨🇭Switzerland mathilde_dumond

To reproduce: on a raw install, add a second language; create a new block; save it (redirects to the blocks overview), then translate it and save -> stays n the same page and complains that the translation already exists.

After the MR: when saving after the translation, we are redirected to the blocks overview page.

🇨🇭Switzerland mathilde_dumond

Upload of a patch with only the test, and a patch with test + fix.

🇨🇭Switzerland mathilde_dumond

I decided to not remove any other selector, to be sure to not break for anyone, but following the discussion here https://www.drupal.org/project/drupal/issues/3151534#comment-15173205 🐛 "Add another item" field button is displayed as a modal action Fixed I suspect that we could remove .multiple-value-form-actions

🇨🇭Switzerland mathilde_dumond

I tried my hand at a patch.

I could update from beta7 to 6.2.0 and have the correct permissions set.

🇨🇭Switzerland mathilde_dumond

I added the other improvements from the issue https://www.drupal.org/project/opigno_learning_path/issues/3339989 🐛 Some labels aren't translatable. Active and added another that was missing.

🇨🇭Switzerland mathilde_dumond

this is a duplicate of https://www.drupal.org/project/opigno_learning_path/issues/3311371 🐛 Turn on translations of some missing strings Needs review

🇨🇭Switzerland mathilde_dumond

Upload of a patch which displays the link only if the user has the permission to access the feature.

🇨🇭Switzerland mathilde_dumond

small fix in the summary about the blocks published state

🇨🇭Switzerland mathilde_dumond

oy sorry about the patch name, the .patch is not an interdiff

🇨🇭Switzerland mathilde_dumond

I have been working on a test for this issue. I am uploading the test alone, and the test together with patch #65

🇨🇭Switzerland mathilde_dumond

Added a check + log in case the module is confused and tries to fetch deleted content.

🇨🇭Switzerland mathilde_dumond

Uploading a patch that fixes the problem, I intend to extend it with test coverage.

🇨🇭Switzerland mathilde_dumond

Thanks for your feedbacks :) Now with a comment explaining why we chose array_slice, and what we do in the following code

🇨🇭Switzerland mathilde_dumond

I created a related issue and uploaded a patch that runs the query in one time, but loads the entities by batches, and clears the memory regularly. It may not be enough for all situations, but already helps with memory and performance 📌 Use loadMultiple() and reset memory cache in ContentEntity source Needs work

🇨🇭Switzerland mathilde_dumond

sorry about the empty patch, here is again patch 106 with no test

🇨🇭Switzerland mathilde_dumond

version of the patch from #106 without the tests, to have a patch that applies on D9. test changes are excluded to avoid rerolls for D9

🇨🇭Switzerland mathilde_dumond

Patch with the paragraphs dependency updated to a D10 compatible version as well

🇨🇭Switzerland mathilde_dumond

now with composer updated for the updated client.

Production build 0.71.5 2024