Comments (4)
Yes this is a nasty bug. For me it went like this:
- All event disappeared suddenly in the calendar (even though it says "6 items" next to the search bar)
- When I deselect the start and end dates, refresh the page, then select ONLY the start date again (as @ZettianMaximus suggests) the events appear 🎉 (with just the start date though!)
- Next I add the end date... and all the events disappear and you go back to the start.
- I thought it was impossible to get the range to work, however I managed to get it to work when filtering for events where the end date isn't null.
When it crashes, the console gives an error that I assume is events without an end date crashing the range code: Cannot read properties of null (reading 'match')
.
I'm on v10.12.1
from directus.
I also wish to have the calendar layout open to the current date by default, so I currently have a filter applied to directus_presets
to delete data.$trigger.payload.layout_options.calendar.viewInfo.startDateStr
from being saved to the database.
This allows the calendar to select the current date by default and as of v10.11.1's calendar fix, it seems to be loading okay for me (so far).
from directus.
The start date field is required for the calendar layout, an upcoming PR will address this confusion by auto-selecting a date field 👍
from directus.
Yes this is a nasty bug. For me it went like this:
- All event disappeared suddenly in the calendar (even though it says "6 items" next to the search bar)
- When I deselect the start and end dates, refresh the page, then select ONLY the start date again (as @ZettianMaximus suggests) the events appear 🎉 (with just the start date though!)
- Next I add the end date... and all the events disappear and you go back to the start.
- I thought it was impossible to get the range to work, however I managed to get it to work when filtering for events where the end date isn't null.
When it crashes, the console gives an error that I assume is events without an end date crashing the range code:
Cannot read properties of null (reading 'match')
.I'm on v10.12.1
Yeah can confirm I'm getting exactly the same thing. If there are any entries where the end date is null, then nothing appears at all. As @gla23 suggested, adding a filter for end dates not being null is a workaround. :)
from directus.
Related Issues (20)
- Get total count from filtered items HOT 1
- When uploading a replacement file with a different extension, filename_disk extension is not updated. HOT 2
- Session Token usability issue in SDK HOT 3
- Insert Image/Media in WYSIWYG editor broken with `TUS_ENABLED`
- Make Liquidjs RenderOptions available HOT 5
- Support for <code> Tag Implemented but Missing UI Tool in WYSIWYG Field HOT 21
- list-o2m cannot display the inner related collection properly HOT 2
- Internal Rate Limiter not working HOT 1
- snapshot hangs the whole server for ~5 mn. HOT 1
- autoRefresh timer stop on page reload or new route HOT 5
- Turning off Nullable drops Default Value in schema settings HOT 6
- Directus all API endpoints are returning 404 error HOT 3
- In a image field an svg file will show as unsupported. HOT 2
- Issues with using custom migrations, date sequence clashes with directus migrations HOT 2
- Media / Files uploaded with tus protocol breaks the upload functionality HOT 1
- After upgrading from 9.26.0 to 10.13.1, WYSIWYG toolbar more than 1 line is hidden by default HOT 2
- ID field missing in Flow webhook payload when creating new M2M item HOT 5
- Deleting a folder which contains a folder will throw an Unexpected error.
- errors.SERVICE_UNAVAILABLE upload assets HOT 1
- "Disable editing value" prevents also creation of value HOT 8
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.