Breaks: Document id same as attribute key
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- web-dev
Research direction
Start by reviewing commit 744b12633a76dea4c516363bee60c9e407385268 and reproduce the edit failure with a document id and attribute both named "title". Check the referenced template and attribute-key changes, then verify that editing works without corruption and assess the stated backwards-compatibility impact.
Written by the indexing model from the issue text.
Description
A document with an id that is the same as an attribute id can't be edited - e. g. create a document with the id 'title' where the document contains an attribute 'title'. When going into edit mode, it will appear corrupted depending on the attribute level editors used in that document.
I have pushed a fix that breaks backwards compatibility:
https://github.com/developmentseed/bones-document/commit/744b12633a76dea4c516363bee60c9e407385268
This fix breaks backwards compatibility. Existing templates need to be updated and attribute keys need to be prefixed with editable- so that for instance the class title becomes editable-title.
Needs review.
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/bones-document
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
developmentseed/bones-document#5 · 1 comment ·
-
Style/UI regressions Open
developmentseed/bones-document#4 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
All issues in developmentseed/bones-document
Similar issues
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NousResearch/hermes-agent#121143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100