Comments (4)
Thanks @MuhammadAliashraf
The issue is not with DashPress but with the film_actor
table. The issue is that this table does not have a primary key so it doesn't know which ID to select. If you try selecting multiple items on tables with a primary key (e.g https://demo.dashpress.io/admin/customer), this will not happen
There is no code change from my end to fix this issue other than to add a primary key to the database. Will look into adding a primary key for the table though
from dashpress.
@thrownullexception
Thanks
from dashpress.
Taking a look now I see why my checks are not even working, because I wrote this
And I check the schema and I see this
The film_actor
has a two primary keys which is problematic for Dashpress, so I will update the logic of the code above to also error out of the number of primary keys is not equal to one.
Thanks for reporting this issue
from dashpress.
Added checks to block actions when there are multiple primary IDs, Won't solve this issue in particular but users will get the error when they try to performs on the entity
from dashpress.
Related Issues (20)
- feat: Show Disabled CRUD elements from the Settings Tab HOT 1
- feat: Allow the name of the app to be customized HOT 1
- feat: Show the count of data in the table tabs HOT 2
- feat: Ability to upload files via a form HOT 1
- feat: Highlight the selected button from sidebar HOT 1
- feat: Extending User Entity HOT 1
- bug: Can't start the project HOT 5
- bug: Unsupported engine HOT 1
- bug: HOT 5
- bug: Error Message when creating a new user and assigning "View" mode - demo HOT 1
- bug: Domain hadmean.com is expired HOT 1
- dev: how to change menu's name HOT 1
- bug: The document contains some sections that are not formatted properly, resulting in errors upon startup.(GPT translate^..^) HOT 7
- How do I set the chart display in the dashboard? HOT 6
- bug: Application error: a client-side exception has occurred HOT 12
- bug: npm run verify has error HOT 3
- bug: Unable to Connect to MS SQL Server HOT 12
- How do I use gorm to define a many2many field so that Dashpress can display the many2many field and manipulate it? HOT 3
- can not set int type HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashpress.