Services Plugins FAQs

Calendar from Google + Offline - Edit Event Error

  1. Create an appointment on the Google Calendar
  2. Store the Event ID
  3. Use the Event ID plus new date and time to update the event
  4. Receive an error “The specified time range is empty”

Note that I’m using the same input fields to set the start and end for the “create event” process and the “edit event” process.

See the attached screenshots showing my configuration for both the Edit and Create

Edit

Create from a database trigger event.

For what it’s worth, I’m currently achieving an “edit event” feature by deleting the event and creating a new one. This is not ideal.

Sincerely,
Paul

Hello @pwharker, :wave:

Thank you for detailing the issue you’re encountering. I understand the frustration of having to delete and recreate events instead of simply editing them.

I will reach out to our development team regarding this error, “The specified time range is empty,” and suggest that they add an example of the correct process for editing events to the demo page. This should help clarify the intended setup and provide a direct solution.

I’ll keep you updated on any progress or insights from the development team. :pray:

Best regards,
Daniel.

Hi @Daniel.P,
It also helps to know how close the “(testing)” version of the plugin is to the release version. I still have some features that appear to work in the demo app but not in my app. Of course, I’m narrowing down all possibilities before I report an issue, but one variable is that the code is not the same between release and test for the feature I’m playing with. In this case, it’s “create calendar”.

Hello @pwharker, :wave:

The test version of our plugin is different from the release version in situations where we’ve made code changes, such as improvements or fixes. This test version undergoes checks before we release these changes to the public version to ensure everything works as intended.

If you’re noticing discrepancies, especially with the “create calendar” feature, and it’s working in the demo app but not in your application, we’d be keen to investigate further. Could you please provide us with more details about the issue? Specifics such as error messages, the steps you’re taking, and
screenshots would be helpful.

Once we have this information, we can delve deeper into the matter and assist you more effectively.

Best regards,
Daniel.

Hello @pwharker, :wave:

I’ve received an update from our development team regarding the “edit event” functionality. They have clarified how it works and provided a specific example that you can view and test on our demo page. Here’s the link to the demo: zeroqode-demo-11 | Bubble Editor

To ensure the date and time are set correctly when editing an event, it is important to format them as follows: 2022-06-25T14:00:00+03:00 This format includes the date, time, and timezone offset, which is crucial for correct processing.

Here’s how you can test the action on this test page:

  1. Create a new event.
  2. Place its ID in the input provided on the page.
    image
  3. Click the ‘Edit Event’ button.
    image

The event’s start date and end date will be updated to April 25th and April 27th, respectively, as per workflow.

Please go ahead and test this functionality using the steps outlined. This should help you integrate and manage event modifications effectively in your application.

I hope this helps! If you encounter any issues or have further questions, feel free to reach out.

Best regards,
Daniel.

Hi @pwharker, :wave:

Just a quick reminder regarding the “edit event” functionality. Have you had a chance to test the example provided?

Please let me know if you managed to get the edit event to work and if you found the test page useful. If you have any issues or questions, please feel free to reach out. :pray:

Best regards,
Daniel.

Hi @Daniel.P,

Yes, I tested it and it is working as expected.

The confusion is that most software systems do not put the 2nd date 1st on a filter form. It’s usually "from to ".

Thank you for your help.
Paul

1 Like

Hi Paul @pwharker, :wave:

I’m glad to hear that it is working as expected. You are welcome.

Please feel free to reach us again when you need help or assistance.

If you’re enjoying our plugins, we’d love for you to rate them. Simply go to the Plugins tab in the Bubble editor, search for the plugin by name, and award it the stars you think it deserves. Your support would mean a great deal to us!

I wish you an amazing day ahead. If there’s anything more you need or questions you have, please don’t hesitate to contact me. :pray:

Best wishes,
Daniel.