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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adriancid created an issue. See original summary.

adriancid’s picture

Issue summary: View changes
adriancid’s picture

Status: Active » Needs review
FileSize
531 bytes
naveenvalecha’s picture

Status: Needs review » Reviewed & tested by the community

Thanks!

star-szr’s picture

Component: comment.module » other
Status: Reviewed & tested by the community » Needs work
Issue tags: +String change

While 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):

msgid " Allow comment title"
msgstr " Permitir título de comentario"
adriancid’s picture

Status: Needs work » Needs review
FileSize
1.18 KB

Thanks @Cottser here is the new patch

Status: Needs review » Needs work
star-szr’s picture

HEAD is failing intermittently at the moment, so that test failure is unrelated.

adriancid’s picture

Status: Needs work » Needs review

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Venkatesh Rajan.J’s picture

Assigned: Unassigned » Venkatesh Rajan.J
Venkatesh Rajan.J’s picture

Assigned: Venkatesh Rajan.J » Unassigned
Status: Needs review » Reviewed & tested by the community

#6 worked for me.

Unwanted spaces are removed on both block_content and comment.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 6f6abec and pushed to 8.5.x. Thanks!

  • catch committed 6f6abec on 8.5.x
    Issue #2894014 by adriancid, Cottser: Additional space in a field...
Venkatesh Rajan.J’s picture

Hello catch,

I think you missed to give credit to me :)

Venkatesh Rajan.J’s picture

Status: Fixed » Closed (fixed)

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