René's URL Explorer Experiment


Title: Saving Changes Fail After Adding New Record And Amending Primary Key Field · Issue #1049 · sqlitebrowser/sqlitebrowser · GitHub

Open Graph Title: Saving Changes Fail After Adding New Record And Amending Primary Key Field · Issue #1049 · sqlitebrowser/sqlitebrowser

X Title: Saving Changes Fail After Adding New Record And Amending Primary Key Field · Issue #1049 · sqlitebrowser/sqlitebrowser

Description: Details for the issue I have a database with a table, generated by a nhibernate schema: CREATE TABLE "ASD.Order" ( "ID" integer PRIMARY KEY AUTOINCREMENT, "Nr" NUMERIC NOT NULL, "Version" INT NOT NULL, "Order" TEXT, "Article" NUMERIC NOT...

Open Graph Description: Details for the issue I have a database with a table, generated by a nhibernate schema: CREATE TABLE "ASD.Order" ( "ID" integer PRIMARY KEY AUTOINCREMENT, "Nr" NUMERIC NOT NULL, "Version" INT NOT N...

X Description: Details for the issue I have a database with a table, generated by a nhibernate schema: CREATE TABLE "ASD.Order" ( "ID" integer PRIMARY KEY AUTOINCREMENT, "Nr" NUMERIC...

Opengraph URL: https://github.com/sqlitebrowser/sqlitebrowser/issues/1049

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Saving Changes Fail After Adding New Record And Amending Primary Key Field","articleBody":"### Details for the issue\r\n\r\nI have a database with a table, generated by a nhibernate schema:\r\n\r\n```\r\nCREATE TABLE \"ASD.Order\" (\r\n\t\"ID\" integer PRIMARY KEY AUTOINCREMENT,\r\n\t\"Nr\" NUMERIC NOT NULL,\r\n\t\"Version\" INT NOT NULL,\r\n\t\"Order\" TEXT,\r\n\t\"Article\" NUMERIC NOT NULL,\r\n\t\"Amount\" NUMERIC,\r\n\t\"TargetDate\"\tDATETIME,\r\n\t\"Date2\" DATETIME,\r\n\t\"CustomerDate\" DATETIME,\r\n\t\"Info2\" TEXT,\r\n\t\"PreviousOrder\" NUMERIC,\r\n\t\"OrderType\" TEXT,\r\n        -- unneccessary\r\n\t-- FOREIGN KEY(\"Article\") REFERENCES \"ASD.Article\"(\"ArticleNr\"));\r\n```\r\n\r\n**\"Save changes\" fails:**\r\n- Select table \"Order\" in GUI\r\n- Insert a new Record using the \"new record\" button.\r\n- Edit the columns in the new record (ID, Nr, Order, Amount...) \r\n- Click \"Save changes\"\r\n- Click \"reload\" of the target table (Order)\r\n\r\nCurrent Behaviour:\r\n- _The data in the inserted record(s) dissappears_\r\n\r\nExpected Behaviour:\r\n- The data in the tables/records gets validated and saved in db-file.\r\nor\r\n- The save fails with a error message in a message box with information what's the corrupted data.\r\n\r\n### Useful extra information\r\n\r\nThe foreign keys are not important cause they are valid (the ArticleNr exists).\r\n\r\nMaybe, it's because i change the ID-Column (autoincrement primary key).\r\nWhen i insert a new record and change the ID, (following instructions above) the bug appears.\r\n\r\n#### I'm opening this issue because:\r\n\r\n- [ ] DB4S is crashing\r\n- [x] **DB4S has a bug**\r\n- [ ] DB4S needs a feature\r\n- [ ] DB4S has another problem\r\n\r\n#### I'm using DB4S on:\r\n\r\n- [x] Windows: ( _version:_ _8.1 64bit (updates installed)__ )\r\n- [ ] Linux: ( _distro:_ ___ )\r\n- [ ] Mac OS: ( _version:_ ___ )\r\n- [ ] Other: ___\r\n\r\n#### I'm using DB4S version:\r\n\r\n- [x] 3.9.1\r\n- [ ] 3.9.0\r\n- [ ] Other: ___\r\n\r\n#### I have also:\r\n\r\n- [x] Tried out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds\r\n- [x] Searched for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20\r\n","author":{"url":"https://github.com/perahoky","@type":"Person","name":"perahoky"},"datePublished":"2017-06-29T11:39:27Z","url":"https://github.com/sqlitebrowser/sqlitebrowser/issues/1049"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0a01e8f8-30a6-153e-a8f7-d7d679db4fca
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id902E:20243E:16AA6F:1ED986:6AFD8F3B
html-safe-nonce4b9464c1e195180938ba2797a8db8102fc16e02c941814bed7636b1b63cfdc8f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDJFOjIwMjQzRToxNkFBNkY6MUVEOTg2OjZBRkQ4RjNCIiwidmlzaXRvcl9pZCI6IjY5MTU1NjMyMDU3MjQ4MzU2NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbeeaf7b3aa8cf3ea852627c3ca6a4c74414b4bb6c9c3aa64fc8ce47cb754ab3a
hovercard-subject-tagissue:239450729
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlitebrowser/sqlitebrowser/1049/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6b46fc2f8669106b6467a4731318c94b01f8f4f16b15cc12d789568addcff88e/sqlitebrowser/sqlitebrowser/issues/1049
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b46fc2f8669106b6467a4731318c94b01f8f4f16b15cc12d789568addcff88e/sqlitebrowser/sqlitebrowser/issues/1049
og:image:altDetails for the issue I have a database with a table, generated by a nhibernate schema: CREATE TABLE "ASD.Order" ( "ID" integer PRIMARY KEY AUTOINCREMENT, "Nr" NUMERIC NOT NULL, "Version" INT NOT N...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameperahoky
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
go-importgithub.com/sqlitebrowser/sqlitebrowser git https://github.com/sqlitebrowser/sqlitebrowser.git
octolytics-dimension-user_id7454271
octolytics-dimension-user_loginsqlitebrowser
octolytics-dimension-repository_id19416551
octolytics-dimension-repository_nwosqlitebrowser/sqlitebrowser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id19416551
octolytics-dimension-repository_network_root_nwosqlitebrowser/sqlitebrowser
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/sqlitebrowser/sqlitebrowser/issues/1049#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlitebrowser%2Fsqlitebrowser%2Fissues%2F1049
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlitebrowser%2Fsqlitebrowser%2Fissues%2F1049
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sqlitebrowser%2Fsqlitebrowser
Reloadhttps://github.com/sqlitebrowser/sqlitebrowser/issues/1049
Reloadhttps://github.com/sqlitebrowser/sqlitebrowser/issues/1049
Reloadhttps://github.com/sqlitebrowser/sqlitebrowser/issues/1049
sqlitebrowserhttps://github.com/sqlitebrowser
sqlitebrowserhttps://github.com/sqlitebrowser/sqlitebrowser
Codehttps://github.com/sqlitebrowser/sqlitebrowser
Issues786 (786)https://github.com/sqlitebrowser/sqlitebrowser/issues
Pull requests30 (30)https://github.com/sqlitebrowser/sqlitebrowser/pulls
Discussionshttps://github.com/sqlitebrowser/sqlitebrowser/discussions
Actionshttps://github.com/sqlitebrowser/sqlitebrowser/actions
Projectshttps://github.com/sqlitebrowser/sqlitebrowser/projects
Wikihttps://github.com/sqlitebrowser/sqlitebrowser/wiki
Security and qualityhttps://github.com/sqlitebrowser/sqlitebrowser/security
Insightshttps://github.com/sqlitebrowser/sqlitebrowser/insights
https://github.com/sqlitebrowser/sqlitebrowser
New issuehttps://github.com/login?return_to=https://github.com/sqlitebrowser/sqlitebrowser/issues/1049
New issuehttps://github.com/login?return_to=https://github.com/sqlitebrowser/sqlitebrowser/issues/1049
Saving Changes Fail After Adding New Record And Amending Primary Key Fieldhttps://github.com/sqlitebrowser/sqlitebrowser/issues/1049#top
bugConfirmed bugs or reports that are very likely to be bugs.https://github.com/sqlitebrowser/sqlitebrowser/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/perahoky
perahokyhttps://github.com/perahoky
on Jun 29, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issue-239450729
https://github.com/sqlitebrowser/sqlitebrowser#nightly-buildshttps://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20
https://github.com/perahoky
perahokyhttps://github.com/perahoky
on Jun 29, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issuecomment-311945496
https://github.com/justinclift
justinclifthttps://github.com/justinclift
on Jun 29, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issuecomment-311952909
https://github.com/perahoky
perahokyhttps://github.com/perahoky
on Jun 29, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issuecomment-311975976
https://github.com/chrisjlocke
chrisjlockehttps://github.com/chrisjlocke
on Jun 29, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issuecomment-312008191
https://screencast-o-matic.com/watch/cb1UoGlQMzhttps://screencast-o-matic.com/watch/cb1UoGlQMz
https://github.com/chrisjlocke
chrisjlockehttps://github.com/chrisjlocke
on Nov 9, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#issuecomment-343229849
chrisjlockehttps://github.com/chrisjlocke
on Nov 9, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#event-1334467377
chrisjlockehttps://github.com/chrisjlocke
on Nov 9, 2017https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#event-1334469873
mgrojohttps://github.com/mgrojo
bugConfirmed bugs or reports that are very likely to be bugs.https://github.com/sqlitebrowser/sqlitebrowser/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 6, 2018https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#event-1888555117
mgrojohttps://github.com/mgrojo
on Oct 6, 2018https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#event-1888641755
Problems with WITHOUT ROWID tables with PK of string typehttps://github.com/sqlitebrowser/sqlitebrowser/commit/e6392dc07c07aa28a11ee0b4fa40249b566d8629
e6392dchttps://github.com/sqlitebrowser/sqlitebrowser/commit/e6392dc07c07aa28a11ee0b4fa40249b566d8629
MKleusberghttps://github.com/MKleusberg
on Oct 9, 2018https://github.com/sqlitebrowser/sqlitebrowser/issues/1049#event-1893898645
Problems with WITHOUT ROWID tables with PK of string type (#1559)https://github.com/sqlitebrowser/sqlitebrowser/commit/16ba6db2dc795752d4f263a9c3bbc8c7d919db58
#1559https://github.com/sqlitebrowser/sqlitebrowser/pull/1559
16ba6dbhttps://github.com/sqlitebrowser/sqlitebrowser/commit/16ba6db2dc795752d4f263a9c3bbc8c7d919db58
Problems with WITHOUT ROWID tables with PK of string type (#1559)https://github.com/sqlitebrowser/sqlitebrowser/commit/66ffa5f87c9de863f20dcff3f5c7c47e07bffc96
#1559https://github.com/sqlitebrowser/sqlitebrowser/pull/1559
66ffa5fhttps://github.com/sqlitebrowser/sqlitebrowser/commit/66ffa5f87c9de863f20dcff3f5c7c47e07bffc96
Sign up for freehttps://github.com/signup?return_to=https://github.com/sqlitebrowser/sqlitebrowser/issues/1049
Sign in to commenthttps://github.com/login?return_to=https://github.com/sqlitebrowser/sqlitebrowser/issues/1049
bugConfirmed bugs or reports that are very likely to be bugs.https://github.com/sqlitebrowser/sqlitebrowser/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.