ckan / ckan/ckanext-scheming

Multiple text field is breaking string into a list of single characters

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
102
Forks
182
PR merge metrics
No merged PRs in 30d

Description

Hi all, I'm trying to implement a multiple_text field but I'm getting a weird behaviour. The field shows fine, but once I hit submit, the actual data stored is not what was typed in. For instance, if I wanted to have the value "1. Rio", what I end up getting is "1.R 2.i 3.o". I'm running the latest master branch of scheming on CKAN 2.9.4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the multiple_text submission described on CKAN 2.9.4 or the latest master branch of ckanext-scheming, then trace how the submitted value is stored. Done means a value such as "1. Rio" is preserved as entered rather than split into single characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.