Skip to content

Fix row details state restore: unescape escaped colons in row IDs#389

Open
MatrixNeoKozak wants to merge 1 commit into
DataTables:masterfrom
MatrixNeoKozak:scout-improvement-1780225450574
Open

Fix row details state restore: unescape escaped colons in row IDs#389
MatrixNeoKozak wants to merge 1 commit into
DataTables:masterfrom
MatrixNeoKozak:scout-improvement-1780225450574

Conversation

@MatrixNeoKozak
Copy link
Copy Markdown

Fixed a bug in state restoration of child rows where colons in row IDs were not being unescaped after being escaped during state saving. The original code only escaped colons on save but did not unescape on load, causing the state to fail to restore child rows for IDs containing colons (e.g., 'a:b'). Added the reverse operation in detailsStateLoad to unescape the colon before passing to rows().

@AllanJard
Copy link
Copy Markdown
Contributor

I might be being daft here, but is the new map function just undoing the escaping that the previous one is adding? Are you able to give me a link to a test case that shows the issue so I can dig into it as well please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants