Data editing and paste: known gaps and follow-ups
Los mantenedores suelen responder en 1 día
@DokaDev ya está trabajando en esto.
Desde el 12/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Rust
- Estrellas
- 166
- Forks
- 8
- Merge medio
- 4 h 24 min
- PR fusionados (30 d)
- 291
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DokaDev/datarig
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
DokaDev/datarig#544 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de DokaDev/datarig
Issues similares
-
area:compat area:operations documentation ready-for-agent type:afk
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ZcashFoundation/zinder#552 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
storytold/vectorcraft#9229 ·
Los mantenedores suelen responder en 1 día