Skip to content

Conversation

@Nilet
Copy link

@Nilet Nilet commented May 19, 2023

Two similar functions basically had the same behavior where they always tried to access the first item and it would crash if there was none. This bug would actually make it impossible to create the first item and it would permanently return undefined.

@guiseek
Copy link
Owner

guiseek commented May 19, 2023

Hi @Nilet !
Thank you for your contribution!

Let me explain

that method is used to map an old version of data that the user might have since the data structure has changed from version 1 to 2...

If there is a time property on any object in the list, it is the old version, so it is iterated item by item, correcting the data.

unfortunately the solution as it is cannot be merged, as it only takes away the error, but the software loses the correction that is made :/

Let me know if you want help submitting a retry

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