magnusmanske / magnusmanske/quickstatements

possibly bug with `somevalue` when creating new items

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

Nobody has claimed this yet.

Dominant language
PHP
Stars
58
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hi Magnus, in a custom Wikibase I was trying to create new items with a property value somevalue. It works when I do this in two separate steps like

qid,P1,Len
,Q1,"some label"

followed by

qid,P8
Qxxx,somevalue

But when I do:

qid,Len,P8
,"some label",somevalue

the statements error out with a message that somevalue is not known.

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 issue with the two CSV forms shown in the report, then trace the QuickStatements input path that parses property values during new-item creation. Compare the combined-row handling with the later somevalue update. Done means the combined form accepts somevalue without the unknown-value error while preserving the existing two-step behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.