Comments (3)
Cannot read properties of undefined (reading 'primary')
This error would generally be thrown if the schema
doesnt contain the collection that is being queried not sure how that could be caused on login tho 🤔
Have you tried clearing the cache?
from directus.
@br41nslug I dug and figured that the cause was directus_activity not having primary key. I added all the tables which had composite primary keys via DB_EXCLUDE_TABLES csv env var and added id as explicit primary key in directus_activity. It seems that somehow the primary key got removed. Not sure why it happened though.
from directus.
Thats a weird issue, yeah the activity table really needs that primary key. Glad you managed to figure out the issue and please do let us know if you ever find out how this primary key was removed (that really shouldnt happen)
from directus.
Related Issues (20)
- Item Permissions Not Working with $CURRENT_POLICIES HOT 1
- Improvements to authentication docs
- Re-ordering the columns of a Kanban layout in a bookmark should NOT save automatically.
- Add ability to download SAML IdP metadata from provider
- Enable to translate and customize registration-wrapper HOT 3
- Performance Improvement: Optimize Login Page Animation for High-Resolution Displays HOT 5
- SDK read Role Public HOT 6
- websocket seems to be broken in 11.1 HOT 1
- /files route is completely public exposing all files that are "public" HOT 1
- Migrations are mangled in Docker cluster mode HOT 1
- represent the discriminated union in m2a queries on the type level
- Variables / Field Names - How to use! HOT 2
- Donut Chart Coloring
- `select-color` broken due to broken imports
- Calling API DELETE /files/{id} returns 403 Forbidden when the file does not exist HOT 3
- Insight - Line Diagram - Step Size?
- `system-filter` does not accept `$CURRENT_POLICIES` and `$CURRENT_ROLES` as valid inputs
- Support for S3 Access via EKS Service Accounts
- Filtering items that have all specified related items (many-to-many relation) does not work HOT 1
- Insight - Metric List - Display Relation Value HOT 1
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 directus.