Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Deleting values from an array messes up subsequent keys/values in the array #9

Open
rosswintle opened this issue Sep 1, 2017 · 0 comments
Labels

Comments

@rosswintle
Copy link

Probably best demonstrated with a GIF:

serializededitorissue

Steps to reproduce:

  1. Open the editor an empty serialized string
  2. Add some key/value pairs (I've tried with both integer and string keys)
  3. Delete a value from the middle of the array of values

Expected behaviour

Only the deleted key/value is removed - all other values are un-modified

Actual behaviour

The deleted key/value is removed. All subsequent key/values in the array are set to 0 => value

@gilbitron gilbitron added the bug label Nov 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants