question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating entries leaves the old entry and creates a new one

See original GitHub issue

Steps to reproduce

  1. Add an entry e.g something.com
  2. Save the entry
  3. Modify the entry e.g aaaa.something.com

Result

something.com and aaaa.something.com exist now.

Here’s a video thereof.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kinteshcommented, Mar 19, 2019

@LoveIsGrief I’ll have to pull out your change from next release. By clearning the storage, you’ll lose other entries and only keep the the ones in view. This is due to my original bad implementation.

0reactions
LoveIsGriefcommented, Jun 6, 2019

@businessBoris it seemed like either a restructuring or a hack would be necessary and I don’t have the will to invest that much time into that, sorry.

Maybe @kintesh could improve his original implementation. He might have a better idea what to do about it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and run an update query - Microsoft Support
Open the database that contains the records you want to update. · On the Create tab, in the Queries group, click Query Design....
Read more >
Updating entry adds a new entry to database - Stack Overflow
On reading more about Entity Framework, there is method AddOrUpdate which adds a new record or updates any existing records.
Read more >
Updating Table and values in SQL - Intellipaat
The UPDATE command in SQL is used to modify or change the existing records in a table. If we want to update a...
Read more >
Lesson 7: Updating and Deleting Entries in the Database
You also create a new file named deleteWish.php . ... Updating the input form on the editWish.php page ... "</td>"; //The loop is...
Read more >
Working with entries - Cognito Forms
Editing entries · Go to your form's Entries page. · Select an individual entry to expand the entry details. · Make any necessary...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found