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.

Hey there.
So I am wondering and cannot find information anywhere.
If I have a table and the route to edit is defined as
http://timutech.localhost/admin/timu-user/0/edit
How do I get that 0 parameter in the url to translate to my real ID used in the database? As I am using UUIDs.
Following http://timutech.localhost/admin/timu-user/0/edit gives a “404 No query results for model [App\Models\TimuUser] 0” page.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tabacitucommented, Feb 12, 2021

@digitaltim-de what’s the issue you’re having more specifically? If you think there’s a bug in Backpack please open a new issue - it’ll also ask you for some stuff like the version of PHP and Backpack you’re running.

For reference, I’ve just created a CRUD for a model that uses UUIDs and it seems to work perfectly, I had no problems. The problem first reported here is a very old one (2017), nowadays I see the UUID is used in the URL so there’s no reason UUIDs wouldn’t work out-of-the-box with Backpack:

2021-02-12 13 32 39

0reactions
digitaltim-decommented, Feb 12, 2021

Same Issue…

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a UUID, and why should you care? - Cockroach Labs
A UUID – that's short for Universally Unique IDentifier, by the way – is a 36-character alphanumeric string that can be used to...
Read more >
Universally unique identifier - Wikipedia
A universally unique identifier (UUID) is a 128-bit label used for information in computer systems. The term globally unique identifier (GUID) is also...
Read more >
Mysql 8.0: UUID support
In MySQL 8.0.0 we introduced many new features; among those, three new functions that ease and enhance the support for working with UUIDs....
Read more >
UUID Data Type - MariaDB Knowledge Base
The UUID data type is intended for the storage of 128-bit UUID (Universally Unique Identifier) data. See the UUID function page for more...
Read more >
UUID Support - Pimcore
Pimcore provides a toolkit for UUID-support. To activate the UUID-support, an instance identifier has to be set manually in the config.yaml file.
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