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

Merge Requests

More

Recent comments

🇩🇪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

@bhogue, Which version of sites do you use?

🇩🇪Germany Harlor Berlin

Our customer tested this successfully.

🇩🇪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

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

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.

🇩🇪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.

🇩🇪Germany Harlor Berlin

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

🇩🇪Germany Harlor Berlin

Fixed merge conflicts and got review from hydra.

If this still works we can merge this.

🇩🇪Germany Harlor Berlin

We have to do this tempstore keyspecific

'.sites_group:' . $group->id()
🇩🇪Germany Harlor Berlin

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

🇩🇪Germany Harlor Berlin
🇩🇪Germany Harlor Berlin
Production build 0.71.5 2024