ESlint returns errors.
See CI pipeline for more details.
Issue fork shorthand-3452121
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
vladimirausComment #5
vladimirausComment #6
vladimirausComment #7
deepak5423 commentedplease review
Comment #8
vladimirausMerge error. Make sure to pull 4.0.x branch
and resolve conflicts.
Comment #9
deepak5423 commentedplease review
Comment #10
tirupati_singh commentedHi, as there is no eslint issues and pipeline is Green for eslint hence moving the issue status to RTBC.
Comment #11
vladimirausComment #12
vladimirausComment #13
vladimirausComment #14
vladimirausComment #15
jannakha commentedChanges look good.
Tested.
Ready for release.
Thanks for your contribution!
Comment #17
vladimirausCommitted! Thank you all! 🍻
Comment #19
paulmartin84 commentedThis has broken the shorthand module completely and stories can no longer be selected.
was changed to:
However the zero is actually a string so now it fails to be excluded and then causes the following error
TypeError: Cannot read properties of undefined (reading 'description'), so either need to be changed back or changed to === '0'
While this part is being addressed, we shouldn't be excluding zero anyway. Once a story has been selected, there is currently no way to unselect all stories and set it back to 0 The field doesn't have to be set as a a required nor should it have to be be.
The code also has a hardcoded field name in it, which is just not acceptable in a Drupal module. Users should be free to name their fields as they wish.
I'll create a new issue for all of the above, but just putting it here, incase people are wondering why this issue has broken something
Comment #20
vladimirausThanks for reporting @paulmartin84.
Committing now.