Closed (fixed)
Project:
Country
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jul 2023 at 17:58 UTC
Updated:
16 Apr 2024 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
roshni27 commentedroshni27 created an issue.
I am working on it.
Comment #2
roshni27 commentedComment #4
roshni27 commentedSome issues which are better know to maintainer are pending, for reading purpose character limits issues remain and all remaining issues solve by me. Please review the MR.
Comment #6
batigolixI fixed the remaining phpcs issues.
Comment #8
batigolixI tried to rebase the merge request but due to the recent changes this led to git conflicts and I could not safely resolve these.
So I took the low hanging fruit phpcs fixes from your merge requests and committed these.
This means there are 2 phpcs errors left that need to be fixed:
I close the merge request, and set this issue to Needs Work
Comment #10
avpadernoComment #11
batigolixComment #12
batigolixComment #13
nitin_lamaComment #15
nitin_lamaFixed issues. Please review.
Comment #16
nitin_lamaComment #17
paraderojether commentedHi nitin_lama,
I reviewed MR!10 and applied it against Country 8.x-1.x-dev with Drupal core version 10.1.7 and confirmed it fixes the issues reported by phpcs.
I added screenshots for reference.
Thank you.
Comment #18
sleitner commentedpublic function getList()inCountryFieldManagershould not be removed as long as it is used. And you revert some changes made by other issues in the meantime. Is this intended?Comment #19
batigolixAs mentioned in #8 : there are 2 phpcs errors that still need fixing.
Can you restrict your changes just to the 2 remaining phpcs errors?
If you think other issues need to be addressed, please create another issue.
If you have other phpcs output, please post it here as well
Comment #20
batigolixComment #21
chaitanyadessai commented@batigolix Addressed #8 please review patch.
Comment #22
arjenk commentedThis is starting to look very good. Just a couple of small remarks;
You will need to call the parent::__construct() here, otherwise the non overridden functions in FormatterBase are missing services. The current implementation breaks the settings of the field.
That means this will also needs more parameters.
Bonus points for replacing this with the correct parameter definitions.
Comment #23
chaitanyadessai commentedPlease review Patch #22 addressed.
Comment #24
batigolixIf I go to /admin/structure/types/manage/article/form-display and switch from the Default Widget to the Autocomplete Widget, then I get this error:
Comment #25
chaitanyadessai commentedComment #26
chaitanyadessai commentedFixed Error mentioned in #24. please review updated patch, Thanks
Comment #28
batigolixI tested this and it works now. I committed this.
Thanks everybody for their help