Comments

nkoporec created an issue. See original summary.

nkoporec’s picture

Assigned: nkoporec » Unassigned
Status: Active » Needs review
StatusFileSize
new29.81 KB

Created a patch to fix dependency injection issues.

Status: Needs review » Needs work

The last submitted patch, 2: poll_dependency_injection_2952924_2.patch, failed testing. View results

useernamee’s picture

Due to March 17 commit to dev this patch needs to be rerolled.

useernamee’s picture

StatusFileSize
new35.68 KB

I have rerolled the patch and made some minor changes (private -> protected and I found some missed di).

nkoporec’s picture

Status: Needs work » Needs review
StatusFileSize
new4.03 KB
new37.12 KB

Tested the patch and found issues, add/edit poll form are breaking the site, also poll is not showing.Created new patch which fixes this errors, the problem is within LoggerChannelFactory, some modules can implement their own LoggerChannelFactory and override Core's so it's better to use LoggerChannelFactoryInterface instead.

berdir’s picture

Status: Needs review » Needs work

Needs a reroll.

idebr’s picture

Status: Needs work » Needs review
StatusFileSize
new34.56 KB
new41.43 KB
  1. Reroll against 8.x-1.x
  2. Removed some injected classes that were already available on the base class.
  3. Some coding standard fixes in the changed lines.
bzoks’s picture

StatusFileSize
new42.46 KB
new26.45 KB

Rerolled against a current version of 8.x-1.x. Adjusted some dependencies.

nace_fr’s picture

Hi. I have taken a look at patch from #9. It applied successfully and it seems that all DI is added. I have also ran Poll tests and there were no issues and also tested modules functionality, which also seems to work properly.
I'll still leave the status unchanged, because this patch has a lot of changes and maybe I missed something, so it would be good if anyone else can also takes a look at this.

bramdriesen’s picture

This is incorporated in #3417969: Adopt GitLab CI template. Also it's better to extend the parent create instead of overriding it. This will prevent fatal errors when the parent would expect a new dependency.

I'll set it to fixed here to give some credit for the work that was done here.

bramdriesen’s picture

Status: Needs review » Fixed
Parent issue: » #3417969: Adopt GitLab CI template
bramdriesen’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.