Account created on 22 December 2015, almost 10 years ago
#

Merge Requests

More

Recent comments

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Being hit by the same problem on my Ajax forms.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Culprit found, problem fixed, tests are green again.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Tests are failing. Needs work.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

With MR applied:

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Display after MR fix applied:

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

May be we can imagine some kind of hybrid mode where we could select some entity types/bundles in the settings form and then only create per-bundle permissions corresponding to this selection of types/bundles.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

That would definitely be an interesting feature to have.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Wondering if we shouldn't have a permission per bundle after seeing this issue: ๐Ÿ“Œ Create a admin page to define entities/bundles where access_unpublished should work Active

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

This looks like an easy fix.

Could you provide steps to reproduce the problem please?

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR 42 implements the new hook_access_unpublished_allowed_operations_alter hook.

Covered by a kernel test.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR created with some kernel tests.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR created. Functional Javascript test added.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

We could add a 'custom' entry in the options list and if the 'custom' entry is selected, display an input field allowing to enter a custom expiration value.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

An alter hook could be useful here.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Thanks @generalredneck!

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Thanks @generalredneck, we are using this module on at least two big sites:

Happy to give back to the community.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Rebased and conflicts fixed.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

I think Drupal 10.1 minimum will be required before merging.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Some improvements and fixes.

A functional test has been added.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

You're welcome :)

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Suggestions have been implemented.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

A test has been added to this issue's MR.

We still need a way to grant this new permission to existing roles; otherwise most users will lose access to the token-generation form.

Ready to implement whichever solution is deemed appropriate.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ changed the visibility of the branch revert-12531709 to hidden.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ changed the visibility of the branch 8.x-1.x to hidden.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR created with some tests.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

"None" was in the original patch, I would rather go with an empty string too.

I can change the hook to process all existing tokens.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR has been rebased.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

MR created with some tests.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Created a merge request with the accompanying kernel test.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

And it will also be automatically available in the node edit form:

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

As you said in a previous post, the "settings_form" id seems a bit too generic.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Nice catch @generalredneck!

The warnings should have disappeared now.

Added an empty-headers test case to ensure no warnings are triggered.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

In your screenshot my user wants to remove the unlimited option and add a 4 weeks option.

It's there already a way to do that?

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Added a patch corresponding to the new MR 32. Tested successfully on Drupal 11.2.8.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

I hadnโ€™t planned to work on this module, but seeing that this major WSOD bug had been unresolved for nearly two years made me think some help might be needed.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Here is the message sent today to the current maintainers:

Hi,

We are using the "Access unpublished" module on some of our web sites.

I volunteer to maintain the module and pledge to work quickly on fixing the most urgent issues.

I have proposed a merge-request with functional tests to solve a major issue:

https://www.drupal.org/project/access_unpublished/issues/3421309 ๐Ÿ› Unable to save 'access unpublished' setting form - TypeError: Drupal\Core\Render\Element::children(): Argument #1 ($elements) must be of type array, null given Active

You can check my profile here with all the modules I am currently maintaining:

https://www.drupal.org/u/mably โ†’

Here is the issue relative to my maintainership offer:

https://www.drupal.org/project/access_unpublished/issues/3559337 ๐Ÿ’ฌ Offering to maintain Access unpublished Active

Regards.

Frank

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ changed the visibility of the branch 3421309-unable-to-save to hidden.

Looks like the patch has already been merged.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Does anybody know why this hasn't rather been fixed on core side?

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Closing as problem should be fixed in 3.x and fix can't be easily backported to 2.0.x without breaking BC.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Sadly you don't provide any information that could help solve your problem.

Please don't reopen this issue unless you can provide a reproducible scenario on a fresh Drupal instance.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Released in 3.4.0-rc1 โ†’ .

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Thanks for the review @gabriel.passarelli !

Let's merge this.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Related class have been removed in this issue's MR: ๐Ÿ“Œ Replace DomainListCheck with permissions in routing.yml Fixed .

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Thanks @olivierg, it's released!

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

mably โ†’ created an issue.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

A bunch of new functional tests have been added in issue โœจ Add a text filter to generate the Table of Contents in the text Needs review .

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

I guess it could be done using a custom provider.

But I do not think it's the current default behavior for any of the existing providers.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

@olivierg can you confirm that it works fine for you so I can publish a new release?

Thanks.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

It's merge! Thanks for all @olivierg.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Added a few functional tests.

Can we have an RTBC please?

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Hi @olivierg, is there any test account available I could use to test the new code?

Didn't succeed to get one on the Post CH website.

Thanks for your help.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Thanks @hfernandes for the review!

I updated the code based on your suggestions.

Feel free to RTBC if everything seems ok.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Hi @olivierg, thanks for your patch.

Could you create a merge request please?

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Haven't been able to reproduce the problem locally. Closing.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Closing for now. Feel free to reopen if needed.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Merged. Thanks!

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Looks like everything is working again. ๐ŸŽ‰

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Ok, node field ToC is displaying again ๐Ÿ˜…

But Node block configuration is lost.

Looks like it hasn't been tested at all...

๐Ÿ‡ซ๐Ÿ‡ทFrance mably
๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Looks like the table of contents are not rendering anymore ๐Ÿ˜‰

Will have a deeper look tomorrow.

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

Works fine locally on Drupal 11.2.8.

Production build 0.71.5 2024