Improve string field sample value generation

Created on 19 September 2017, almost 7 years ago
Updated 19 July 2023, 12 months ago

Inspiration

I used devel generate for the first time a month ago and here are some problems which I found:

* Taxonomy term names didn't have any spaces in them so it seems they weren't words, but just a random series of characters.
* A varchar / string field I had got immensely long values without any spaces and I doubt any real word could be that long.

This failed to break across lines with word-wrap, broke CSS and caused problems with Search API indexing.

Example: tatramopriclecolumewaclawrephobrushebracripubrunereslepiguuadricridrivopheguvabrubronaspunotistuspimestuchurocichichebadratiharuhabrowuclepheshoviditrohuswatavabradonicipubeuotehotherashewauomupharenadepicriuichokulechisweshoki

Proposed solution

* Generate word-like strings for varchar fields just like node titles.

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
FieldΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡¨πŸ‡¦Canada jigarius MontrΓ©al

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024