updateEvent should support event ID changes
See original GitHub issueremoveEvents("string")
leads to this callback:
filter = function(event) {
return event._id == eventID;
};
Some of my events are from “external events” (dropped jQ widgets). eventReceive looks like:
eventReceive: function(ev) {
(...)
var uidlen=10;
ev.id = 'client_' + (Math.random().toString(36)+'00000000000000000').slice(2, uidlen+2);
(...)
calendar.updateEvent(ev);
}
For those client events, id
is as expected, but _id
contains strings like _fc6
.
Not sure the right path,
- Should updateEvent update _id to match?
- Should removeEvents match against id?
- Should the docs recommend saying removeEvents(ev._id) ?
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ID is malformed - Update Event (v4)
Solved: Hello, I'm new to flow and I've been working on this error for 2 days and I can't really find the solution....
Read more >Change to UpdateEvent action in the Google Calendar Pack
With the UpdateEvent improvement, event info will simultaneously update in your Google Calendar and your doc. If you see an error message…
Read more >Events: update | Google Calendar
Property name Value Notes
end nested object
start nested object
anyoneCanAddSelf boolean writable
Read more >changeEventId Scheduler Docs - DHTMLX Documentation
Each event displayed in the scheduler has a unique id value. When a new event is created from the UI it gets a...
Read more >Update Event Organizer after Migrating to New Tenant
Did you configure the identity mapping in GWM? That will need to be configured correctly to allow GWM to handle migrating calendar events...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
._id
is supposed to be the internally-used trusted value of the ID. the problem here is thatupdateEvent
is not updating this internal value when the publicly knowable.id
is changed.I will repurpose this ticket to be about improving
updateEvent
to acceptid
changes.In the meantime, I’m pretty sure passing in an
id
to the input event data for the draggable (described here), essentially making sure the ID is set earlier in the process and avoidingupdateEvent
altogether, should work.Released in v3.5.0 (blog post)