To reproduce this issue, follow these steps:
1. Build the Razor solution from Main (which is currently targeting 2.1).
2. Launch the Calendar template in the browser of your choice, using the 2.1 assemblies.
3. Log in and create a gallery.
4. Upload a Photo to that gallery.
5. From the landing page showing the uploaded photo, click on gallery name to go back to gallery. (This should be equivalent to directly navigating to /<SiteName>/View/1)
Result: Navigation fails with a 404 page.
Expected: No such error. This should redirect back to the page for the gallery you created in step 3.
1. Build the Razor solution from Main (which is currently targeting 2.1).
2. Launch the Calendar template in the browser of your choice, using the 2.1 assemblies.
3. Log in and create a gallery.
4. Upload a Photo to that gallery.
5. From the landing page showing the uploaded photo, click on gallery name to go back to gallery. (This should be equivalent to directly navigating to /<SiteName>/View/1)
Result: Navigation fails with a 404 page.
Expected: No such error. This should redirect back to the page for the gallery you created in step 3.