When checking the code I found some soon to be deprecated drupal_set_message usage. I will be adding a patch right away.

Comments

marko.romsak created an issue. See original summary.

marko.romsak’s picture

Deprecated drupal_set_message usage replaced.

strozx’s picture

StatusFileSize
new3.67 KB

Applied the patch but saw that there is still some drupal_set_message code in there. So I created a new patch

nace_fr’s picture

Status: Needs review » Reviewed & tested by the community

Checked the patch from #3 and all the deprecated drupal_set_message code is replaced. I'm changing status to "Reviewed".

nace_fr’s picture

Status: Reviewed & tested by the community » Needs work

I was too fast with the status change. Dependency injection needs to be added. Changing status to "Needs work".

nace_fr’s picture

Status: Needs work » Needs review
StatusFileSize
new9.63 KB

DI is also added now.

strozx’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, Nace for updating the patch with dependency injection

strozx’s picture

nace_fr’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new9.63 KB

I have added now DI also.

strozx’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, Nace this works!

bcizej’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new10.17 KB
new3.3 KB

I reviewed the patch and the message types are wrong. Here is a patch that corrects the problems.

boshtian’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies and fixes all the issues mentioned in description.

  • benjamincizej committed f3b51ba on 8.x-2.x
    Issue #3076569 by nace_fric, benjamincizej, strozx, marko.romsak,...
bcizej’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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