🇷🇴Romania @Andras_Szilagyi

Account created on 14 March 2011, about 14 years ago
#

Merge Requests

Recent comments

🇷🇴Romania Andras_Szilagyi

I've reverted adding the patch as it does not seem to help, and instead added caching the account per user. Lets see the result of this.

🇷🇴Romania Andras_Szilagyi

Even if I set ->setCacheMaxAge(0); the behaviour persists, it seems like Drupal is not checking the observers access before its rendering the page, or before its caching the entity or view mode

🇷🇴Romania Andras_Szilagyi

I've pushed some commits to check if the issue is solved by this patch, but it seems to bring up new issues, I'll look more into it

🇷🇴Romania Andras_Szilagyi

I confirm the issue reported, I reviewed the related issue and it looks good, so I will add a line in this modules readme about it so users know to use it.
The code here also looks good.

🇷🇴Romania Andras_Szilagyi

Indeed if I check "custom permissions" without this fix then there is nothing happening. With the fix a table of permissions pop up.
I confirm the issue and fix.

🇷🇴Romania Andras_Szilagyi

Merged, thank you all. I'm leaving the status open in case the bot wants to post more in the future.

🇷🇴Romania Andras_Szilagyi

Seems the issue was fixed in this commit https://git.drupalcode.org/project/decoupled_auth/-/commit/b581a0a7e08fa... but did not know as it lacked an issue and no release was made since.

I'm attaching a path from this commit so anyone can have the fix till the release is out.

🇷🇴Romania Andras_Szilagyi

Made some changes, for me its ok now

🇷🇴Romania Andras_Szilagyi

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

🇷🇴Romania Andras_Szilagyi

I've added some commits to re-enable testing pipelines, and fixed some issues the pipeline reported. Thank you for your contribution.

🇷🇴Romania Andras_Szilagyi

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

🇷🇴Romania Andras_Szilagyi

For some reason I cant create an MR

🇷🇴Romania Andras_Szilagyi

a contribution is welcome

🇷🇴Romania Andras_Szilagyi

and now the test passes, ready for review

🇷🇴Romania Andras_Szilagyi

Thank you @raveen-thakur for your fixes, I've taken care of the cspell

🇷🇴Romania Andras_Szilagyi

Think best would be to merge this as its green in 9.5, and then fix the tests in the groups upgrade ticket

🇷🇴Romania Andras_Szilagyi

Now that the d10 compatibility was merged (not ready) we will have to update and merge https://www.drupal.org/project/gcontent_moderation/issues/3309542 💬 Is group content moderation module compatible with Groups 2.0.0-beta3? Needs work without tests, or merge this and make the d10 tests pass in that issue

🇷🇴Romania Andras_Szilagyi

this was 2 early, first https://www.drupal.org/project/gcontent_moderation/issues/3348700 🐛 Fix failing tests Fixed should have been merged, then the group 2.x, then this

🇷🇴Romania Andras_Szilagyi

The 1 test is failing because this branch is not d10 compatible yet

🇷🇴Romania Andras_Szilagyi

MR created, there I will have the fix and test together, but I'm uploading also as patch to have a static fix until the issue is merged.
The parent issue should add the test, fail, and then this one would fix it.

🇷🇴Romania Andras_Szilagyi

Actually reopeneing to permit the bot to post further patches

🇷🇴Romania Andras_Szilagyi

Nobody noticed the failing test in D10?

🇷🇴Romania Andras_Szilagyi

My time is limited, but if you provide a MR I will review it and would welcome the contribution

🇷🇴Romania Andras_Szilagyi

I'm leaving the ticket status as is to receive any future patches.

🇷🇴Romania Andras_Szilagyi

I ran rector and tested manually in d10, works well, no errors in the logs

🇷🇴Romania Andras_Szilagyi

Re-opening to receive further patches from the bot.

🇷🇴Romania Andras_Szilagyi

I'm marking this as child of the D10 upgrade issue as it was necessary and fixed there, and closing.

🇷🇴Romania Andras_Szilagyi

I've created a patch without the changes from #14, I see some d10 related stuff, doesn't make any sense to me.

🇷🇴Romania Andras_Szilagyi

Can one of the maintainers please enable testing on git push in forks, I need to add testing so everyone can see this pass in D9 and D10, see https://www.drupal.org/node/3297903/qa/merge_request/3297903-automated-d... "There are no tests for this merge request yet. The first test must be triggered with a git push."

🇷🇴Romania Andras_Szilagyi

Shouldn't we reopen this in case the bot wants to post future patches?
Also I don't see one passing test, and I'm not surprised as the defaultTheme is set to classy which is gone in d10.
Please set back to active status, this needs more work. (I wont do it as I think its the maintainers decision)

🇷🇴Romania Andras_Szilagyi

Tested this with group 2.0.0-rc2 and the patch works as expected.

🇷🇴Romania Andras_Szilagyi

I confirm the issue is still present and that the patch solved it. I got the error using gcontent_moderation, same errors when visiting the group permissions page, the patch fixed it.

🇷🇴Romania Andras_Szilagyi

The MR is ok and passes, and we can see the same test fail for the right reasons in the patch.

Production build 0.71.5 2024