Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VBB: android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787) #550

Closed
woffs opened this issue Dec 18, 2023 · 2 comments

Comments

@woffs
Copy link

woffs commented Dec 18, 2023

Query

  • NetworkId: VBB
  • From: Location{STATION, 900182503, 52.4556080/13.6190260, place=Berlin, name=Ahornallee, products=[TRAM, BUS]}
  • Via: null
  • To: Location{STATION, 900181003, 52.4575140/13.5438940, place=Berlin, name=Freizeit- und Erholungszentrum, products=[TRAM, BUS]}
  • Date: Mon Dec 18 09:08:13 GMT+01:00 2023
  • Departure: true
  • Products: [HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBURBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY, CABLECAR, ON_DEMAND]
  • Optimize for: LEAST_DURATION
  • Walk Speed: NORMAL

Error

android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787)
android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:783)
android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)

Additional information

  • probably the dash in the destination name triggers an exception
  • app is transportr
@schildbach
Copy link
Owner

This is obviously an issue in Transportr, please take it to there.

@woffs
Copy link
Author

woffs commented Dec 18, 2023

as expected. thanks! :-)

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

No branches or pull requests

2 participants