Redirect to Landing page after accept is not working

Issue #10 resolved
Daniel Samuels created an issue

Hi,

I am having a problem with the Terms and Conditions plugin. Today we upgraded to Confluence 5.5.3 and now I am seeing unusual activity for new users accepting our terms and conditions.

Basically they log in as normal and hit the T&C page, but when they accept the T&C it is redirecting them to a blank page with one of these URLS:

https://www.c40exchange.org/ajax/injectActionComment.action.

https://www.c40exchange.org/upgrade/ajax/verifyLockPageComment.action

It is logging that they are accepting the T&C, but that blank page is really disconcerting and requires you to close that window and open a new one to then get into the confluence instance

We are running Confluence 5.5.3 with T&C 1.0.7.

I tested rolling back one version, but it is incompatible with 5.5.3. I tried uninstalling and reinstalling - no change.

I also tried turning off our 'Zen Foundation' plugin and our 'Custom Dashboards for Confluence' separately and trying to log in as a new user each time and it still sent me to one of the above URLS and the blank page.

Do you know what might be causing this?

Thanks, Daniel

Comments (15)

  1. Geoff Jacobs

    Hi Daniel, Can you list out the other 3rd party plugins you have installed? It sounds like an incompatibility with one of them. It would be good if you could also provide a log file around the time that it's happening so we can see all the details. If you have information which you don't want to disclose on this public ticket, feel free to email it to support at glintech.com

    Cheers

    Geoff

  2. Daniel Samuels reporter

    Hi Geoff,

    I sent an email back to you at issues-reply at bitbucket.org, as well as, to support at glintech.com with the log and plugins installed.

    Thanks! Daniel

  3. Daniel Samuels reporter

    Hi Nathon,

    I had a look at he Appfusions Mixpanel plugin - but we are running the latest version.

    But I have some good news! I found the issue - it is the Discussion Plugin. https://marketplace.atlassian.com/plugins/fr.spectrumgroupe.confluence.plugins.discussion

    Realizing we had this working a little while ago I thought I would test turning off the latest plugins we installed and that led me to the Discussion Macro. If I disable it then T&C works perfectly, but when we have it on it is redirecting to those blank pages with the weird URLs.

    I know the easiest option is to turn it off, but since we use both your plugin and Discussion so heavily, any way we can get them to work together?

    Thanks, Daniel

  4. Nathon Fowlie Account Deactivated

    Hmm very strange. I'll try to replicate your environment and do a bit more digging. I assume you're running the latest version of the Discussion plugin as well?

  5. Nathon Fowlie Account Deactivated

    Hi Daniel,

    I've attached a patched version of our Terms and Conditions plugin that's compatible with the Discussions plugin, let me know if this resolves the issue you're having.

    nb: You'll need to install the plugin manually via the "upload" button on the "Manage Add-ons" page.

  6. Daniel Samuels reporter

    Hi Nathon,

    Thanks for working on this! I just uninstalled and then installed the new version you provided above and did some testing and I think we are close, but I am still see a problem in a few situations. Here are the results of my tests in our test instance:

    1. After I have just logged out from another user and am logging in as a new user to test:

    Login page URL: https://www.c40exchange.org/upgrade/login.action?logout=true Result: Logs in perfectly and goes to landing page! Browser: Chrome and Safari

    1. When type the base url in your browser: (www.c40exchange.org/upgrade)

    Login page URL: https://www.c40exchange.org/upgrade/login.action?os_destination=%2Findex.action Result: Logs in perfectly and goes to landing page! Browser: Chrome and Safari

    1. When trying to go to specific page, but have to login to the site first:

    Login page URL: https://www.c40exchange.org/upgrade/login.action?os_destination=%2Fpages%2Fviewpage.action%3Ftitle%3DLanding%2BPage%26spaceKey%3Dc40demo Result: https://www.c40exchange.org/upgrade/pages/viewpage.action -- It logged me in perfectly, but is telling me the page cannot be found - if you reenter the same URL or click on any of our menu links it loads the page fine, but refreshing just loads the same 'page cannot be found' page. Browser: Chrome and Safari (same result on both)

    I know you have put a lot of work into this already and I am really thankful for all your help. If it would be at all possible to address the problem I am seeing in my third test I would really appreciate it. I ask since in our use case when we provide the login details to new users we send them a link to the landing page (and a few other relevant pages) and so the last test is the one that nearly all new users will run into on their first login.

    Thanks, Daniel

  7. Daniel Samuels reporter

    Hi Nathon,

    This is the one! I just finished testing all the above ways of logging in, in safari, chrome and firefox and it is working perfectly.

    Thanks so much for all your help getting this to work for us - I really appreciate it!

    Have a great day! Best, Daniel

  8. Log in to comment