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

ExternalEventResource drag drop crashes if no resource on DayResourceView #7106

Closed
matsbryntse opened this issue Jul 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@matsbryntse
Copy link
Member

matsbryntse commented Jul 3, 2023

Forum post

I just got our code updated and we use an ExternalEventResource to drag onto a calendar with out a pre-assigned resource. Version 4.5 fixed the error for all views except the new view you just added for the DayResourceView. Here's the error I get now:

Uncaught TypeError: Cannot read properties of undefined (reading 'id')
at ResourceCalendarRowZone.updateDays (calendar.module.js:151423:148)
at ResourceCalendarRowZone.set (calendar.module.js:1597:52)
at ResourceCalendarRowZone.setEventData (calendar.module.js:151055:13)
at ResourceCalendarRowZone.setupEvent (calendar.module.js:150835:8)
at ResourceCalendarRowZone.setupEvent (calendar.module.js:151394:18)
at ResourceCalendarRowZone.startMove (calendar.module.js:150876:8)
at ResourceCalendarRowZone.dragEnter (calendar.module.js:150484:10)
at ResourceCalendarRowZone.dragEnter (calendar.module.js:151005:18)
at ResourceCalendarRowZone.changeDropping (calendar.module.js:53406:16)
at ResourceCalendarRowZone.set (calendar.module.js:1588:44)
@matsbryntse matsbryntse added bug Something isn't working forum Issues from forum large-account Reported by large customer labels Jul 3, 2023
@matsbryntse
Copy link
Member Author

test added in 7106-dragdrop

@matsbryntse matsbryntse added this to the 5.4.1 milestone Jul 3, 2023
@dongryphon dongryphon self-assigned this Jul 3, 2023
@dongryphon dongryphon added in progress ready for review Issue is fixed, the pull request is being reviewed labels Jul 3, 2023
@dongryphon dongryphon added resolved Fixed but not yet released (available in the nightly builds) and removed in progress ready for review Issue is fixed, the pull request is being reviewed labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants