cal.diy
cal.diy copied to clipboard
Preview button into an event is pointing to the wrong URL
Issue Summary
Inside an event, the Preview button is pointing to the wrong URL. It works if opened from the Event Type page.
Steps to Reproduce
- Open the Event Type page (/event-types)
- Click on the Preview button for any Event
- Check that the calendar is opening in the correct link (e.g.: http://acme.cal.local:3000/john/quick-chat?duration=15)
- Back to the Event Type page
- Click on the Edit button for any Event
- Click on the Preview button for that event
- Check that the 404 page is shown as the link is wrong (e.g.: http://localhost:3000/john/quick-chat)
Actual Results
- Getting 404 page as the link is wrong
Expected Results
- The links should be the same on the Event Type page and the Event itself
Technical details
- Tested on Chrome (114.0.5735.134) and Firefox (114.0.2)
Evidence
@ericrommel this seems to be an environment configuration issue and not a bug, correct?
@ericrommel this seems to be an environment configuration issue and not a bug, correct?
Not sure. @sean-brydon asked me to create this issue to check it better.