Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If you go to see the comment.schema.yml file you'll see this at the end:
form_location:
type: boolean
label: ' Allow comment title'
preview:
type: integer
label: 'Preview comment'
The form_location label have one additional space in the begining:
label: ' Allow comment title'
Proposed resolution
Delete the additional space
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#6 | drupal-additional_space_schema_label-2894014-6-D8.patch | 1.18 KB | adriancid |
#3 | drupal-additional_space_schema_label-2894014-3-D8.patch | 531 bytes | adriancid |
Comments
Comment #2
adriancidComment #3
adriancidComment #4
naveenvalechaThanks!
Comment #5
star-szrWhile we're fixing this, I think we might as well fix this other instance I found of extra whitespace in config (https://www.drupal.org/core/scope#incomplete):
core/modules/block_content/config/optional/views.view.block_content.yml:
content: 'There are no custom blocks available. '
I think these string changes will require translations to be updated (excerpt from drupal-8.3.5.es.po via https://localize.drupal.org/translate/languages/es):
Comment #6
adriancidThanks @Cottser here is the new patch
Comment #8
star-szrHEAD is failing intermittently at the moment, so that test failure is unrelated.
Comment #9
adriancidComment #11
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commentedComment #12
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commented#6 worked for me.
Unwanted spaces are removed on both block_content and comment.
Comment #13
catchCommitted 6f6abec and pushed to 8.5.x. Thanks!
Comment #15
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commentedHello catch,
I think you missed to give credit to me :)
Comment #16
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commented