On a SharePoint farm: When clicking on an event in a Bamboo Calendar Plus Webpart page, then clicking close on the even. User is redirected to the actual calendar and not the page with the Bamboo Calendar Plus WebPart on it.
On a different SharePoint farm: When clicking on an event in a Bamboo Calendar Plus Webpart page, then clicking close on the even. User is redirected to the page with the Bamboo Calendar Plus WebPart on it.
Expected behavior is to be taken back to the page with Bamboo Calendar Plus WebPart page on it.
Opened Notepad and reviewed the URL of the Bamboo Calendar Plus Web Part page.
Original Web Part URL:
Item URL on non-working Site:
Item URL on working site:
When you look at the &Source= URL of the working vs non-working, you see the source on the working farm points to the same web application name as the webpart URL, while on the non-working the source name is different. In my case the server name. This is caused by an incorrect configuration with the AAM for the Web Application on the farm.
I checked Central Administration -> System Settings -> Configure alternative access mappings.
Changed the Alternative Access Mapping Collection to my problematic web application.
Then I see multiple AAM’s all set at the Default Zone. There should be 1 URL per zone. So to remove the problematic AAM’s, click on the Internal URL of the AAM you want to delete. Then Click Delete. In my case the IMASHAREPOINTSERVER AAM was not used, I don’t even know why it was created, but there it was in all of it’s gloriously redirect breaking glory.
Hope this helps someone.