HelloZeroNet / HelloZeroNet/ZeroNet
db from different files
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Step 1: Please describe your environment
* ZeroNet version: 0.6.4 r3741
* Operating system: Win
* Web browser: Chrom
* Tor status: not disabled
* Opened port: yes
* Special configuration: ____---------
### Step 2: Describe the problem:
I created a table and wanted to fill it with lines from a file
***** dbschema.json
"maps": {
"data-static/content-media.json": {
"to_table": [
{
"node": "files_optional",
"table": "files_optional"
}
]
}
},
******
as I understand it because of the file name content-media.json, rows are not added to the table. If the name is changed to data.json, then everything works fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the mapping with dbschema.json and compare data-static/content-media.json with the working data.json case. Trace how the filename is matched to the table mapping and verify that rows from content-media.json are inserted into files_optional without changing the existing data.json behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100