Data editing and paste: known gaps and follow-ups
I maintainer di solito rispondono entro 1 giorno
@DokaDev ci sta già lavorando.
Dal 12/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Problem
Editing a result, pasting into the grid and applying changes shipped with a few known gaps found in review and testing. Most are rough edges; the four under Writes can write rows the user did not intend or end an open transaction, and are listed first. Tracked here so none is left as a note.
Proposal
Writes
- MySQL: "just one" of identical rows is written with
LIMIT 1; withbinlog_format=STATEMENTa replica may change a different row. Read the binlog format and refuse "just one" when it is not row based, saying why - MySQL: with access granted per column, the table's other columns are not listed, so rows can look identical when they are not; detect column-only access and treat the columns as hidden (check)
- Copy and paste inside the grid: dates and times copied before a
SETof DateStyle or time zone in the same tab may be pasted as read under the old setting (check) - PostgreSQL inside an open transaction: a cancel that lands before the Apply's savepoint exists leaves the user's transaction aborted; send the savepoint first or hold the cancel
Values
- DEFAULT is refused on an existing row when the default only mentions
nextval(, and the hint still offers Ctrl+D where it is refused - PostgreSQL: a domain over
double precisionis checked as single precision, so values over 7 digits are refused -
+5,007or1.50typed over the same value become pending updates; a large one-column selection copies whole rows - MySQL: text that is not valid UTF-8 (shown as
0x…) can be edited as text and only fails at Apply; refuse it at the edit key - MySQL
FLOAT(M,D)with many decimals: check that a value accepted as the server's form is stored unchanged (check)
New rows and revert
- A cloned row copies unique columns that are not the key, so Apply fails later; leave them DEFAULT
- Reverting a whole column unmarks every deleted row
- After undo or redo the cursor can move to another new row; a page change keeps the in-page scroll;
nmoves the cursor to the first row - Two updates that chain values (a to b, then b to c) fail with a general count message; name the rows in the preview
Changes tab, Apply and paste messages
- Changes tab: a result without rows falls back to Rows; an edit key in the SQL view switches to the grid without a word; the duplicate choice
[1]/[a]is shown in the tab but only works in the Apply dialog; no right-click menu in the tab - Changes text: type names, stored values, the NULL token and not-whole reasons are not escaped; the statements view still shows line breaks as ↵
- Small sizes: at 80x24 the Apply dialog footer omits 1 and a, the paste summary and the SQL view title are cut, and below about 45 columns the transaction note is cut; check the pending and applied badges too
- Apply shows no progress through its steps
- Paste outcomes: a re-read waiting for the structure puts the paste back silently; a refusal is overwritten by "Paste cancelled"; a withdrawn large-paste question does not say Ctrl+R restores the earlier paste; a MySQL
FLOATpasted equal to its shown value is dropped as no change; a read-only refusal lacks "Not pasted" (check) -
pandg p: the 32 MiB limit keeps reading after it is reached; the large-paste question does not mention a skipped header; a one-column paste whose first value equals the column name is skipped as a header;g ppast the last row does not turn the page -
ROLLBACK WORK TOis read as ending the transaction (safe, wrong wording) - Export while changes exist: the dialog does not warn before Enter, and a selection export is refused even when no selected cell changed; search and copy skip new rows
- Box editor: Ctrl+C cancels the query instead of leaving insert mode;
'<,'>wfails; a refused keep loses the typed text; the footer shows normal-mode keys in insert mode; JSON is highlighted as SQL - Column selected from its header, then
e: the message asks to select cells of one column
Tests
- Add the missing tests: Changes cache and middle-page Enter, the CSV question with moved changes, the Apply wait with insert mode and Hangul input, the cell menu on mixed new and read rows, the preview cache per theme and language, the session values arriving before the statement, wheel scrolling in edit flows, and
/*!50000 SAVEPOINT a */dropping applied values
Found while fixing the items above
- PostgreSQL inside an open transaction: Resume, the value count and the row count start their savepoint without holding a cancel back, so a cancel landing there aborts the user's transaction (as the Apply did before); hold it the same way
- Lingua principale
- Rust
- Stelle
- 166
- Fork
- 8
- Merge medio
- 4h 24m
- PR unite (30g)
- 291
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DokaDev/datarig
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
DokaDev/datarig#544 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DokaDev/datarig
Issue simili
-
bug P2: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
-
tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vfarcic/dot-agent-deck#2512 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
pop-os/cosmic-applets#1641 ·
I maintainer di solito rispondono entro 3 giorni