Berlin
Account created on 14 August 2013, about 12 years ago
#

Merge Requests

More

Recent comments

πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin

OK basically this seems to work, but:

- We need to make sure the new dependency dynamic_entity_reference is installed correctly (I added an update script that should fix that).
- I don't understand the changes in slots_inline_block - Do we want to support other content types here too?
-- Either we should drop the support for other inline content entities (As the module name suggests)
-- Or this needs some work

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin

This essentially reverts https://git.drupalcode.org/project/sites_group_overrides/-/commit/07b8a7... - maybe we should discuss this with Marc to get a solution that works for both cases.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ changed the visibility of the branch 3549338-compatibility-with-sites to hidden.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ created an issue.

πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin

Todos:
- Implement tests
- Try to use getWeight methods by initializing plugins
- Move trait methods to slots weight service

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Ah and the MR contains the changes from ✨ Add admin views for slots Needs work so we should merge this one first.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

If the implementation is approved - We should add some tests.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

The last changes are not generic - and I'm not sure if they come from a problem in this module

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I'm not a maintainer but my understanding is that Open Social is kept secure even though it is using an outdated drupal core version by applying patches for known security vulnerabilities.

See πŸ“Œ Drupal Core Security Update for OS 12 Active

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I tried to fix 2 Issues:

1st: We shouldn't check all conditions in the slot Id views filter but only the slot id condition.
2nd: Some redirect made no sense or were broken (especially in LB)

πŸ‡©πŸ‡ͺGermany Harlor Berlin

1. According to EntityFormInterface the save() method has a return value of type int. (I brought that one back)
2. The return type of validateForm() and submitForm() is not specified on the FormInterface - so even though it doesn't seem to be used anywhere I'm wondering if it really hurts if we pass through the return value.

Did your IDE or some tool notify you about potential issues?

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I guess we should focus on getting this into 2.x. Since there are some substantial changes this needs a reroll.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

@bhogue, Which version of sites do you use?

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Our customer tested this successfully.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Some changes are committed in πŸ“Œ Add alternate site URLs Active

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Code looks good. Let's wait if our customers are happy.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

We have a region_key setting now i sites core.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

The settings API landed

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I'd like to have a link to the klaro app form the SPA config form. On the klaro App form it would be nice to disable the fields that are written when the spa is saved.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Yep

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I'd wait for the discussion in πŸ› Block Plugins don't store their context mappings on submit Needs work before we merge this - maybe the return type will be removed again...

πŸ‡©πŸ‡ͺGermany Harlor Berlin

@bhogue, I think your issue is caused by πŸ› Block Plugins don't store their context mappings on submit Needs work .

It's a bit weird that BlockBase does now specify a return type when PluginFormInterface does not. But as a workaround it should be totally fine to add this return type in SpaBlock.

I opened a separate issue for that: ✨ Allow to set an aria-label on the iframe element Active

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Example in contrib: https://www.drupal.org/project/spa/issues/3526733#comment-16203161 ✨ Allow to set an aria-label on the iframe element Active (comment #8)

I'm wondering if we should specify the return type when there is no return type on the interface in this case PluginFormInterface yet.

πŸ‡©πŸ‡ͺGermany Harlor Berlin
πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ created an issue.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I think this is fine now.

Since its just adding a drush generate command and there are no changes of the existing code base I just merge this.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Which version of LDAP did you use? I ran into the following issue: https://www.drupal.org/project/ldap/issues/3534935 πŸ› LdapUserLoginEvent isn't dispatched correctly Active

πŸ‡©πŸ‡ͺGermany Harlor Berlin

The changes look reasonable. Though I haven't tested it.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

We found an issue with site path aliases - which I tried to fix

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I think the interviewer could offer 3 options:

1: Decorate a specific form ID
2: Decorate a form based on a hook_form_FORM_ID_alter hook_form_alter...
3: Use a custom applies method

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Sorry I meant:

#[FormDecorator('form_tfa_base_overview_alter')]
πŸ‡©πŸ‡ͺGermany Harlor Berlin

Looks good to me - I Just saw one little text that doesn't fit anymore

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Ah yeah - currently you would have to use:

#[FormDecorator('tfa_base_overview_alter')]

The background was that I thought it might be convenient when one can read the attribute just like the hook_form_alter:

#[FormDecorator(hooK: 'tfa_base_overview_alter')]

But I'm actually not really happy with that...

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I'm not sure why the generated form decorator did not get applied. Can you give details what went wrong?

Currently the applies method is added if the user does not choose a specific form_id or hook_form_alter equivalent. I mean we could just always generate the applied method. That would be fine for me.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

Yeah the array key weight is a bit confusing. I think we can just change the to test_string.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ created an issue.

πŸ“Œ | Sites group | Fix tests
πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ created an issue.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

harlor β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany Harlor Berlin

I ran into a fatal in sites_path_alias when I tried deleting the relationship while being masqueraded - but it seems to be unrelated to these changes. I'll create an issue there.

Production build 0.71.5 2024