Results 1 to 3 of 3

Thread: /myapp/connect/linkedin redirects to /myapp/connect/connect/linkedinConnected

  1. #1
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default /myapp/connect/linkedin redirects to /myapp/connect/connect/linkedinConnected

    I have a Spring Roo app that I've pretty much stripped down and I've added a ConnectController bean to my webmvc-config.xml configuration file. When I browse to /social/connect/linkedin (where "social" is my app), it attempts to redirect me to /social/connect/connect/linkedinConnected but it seems the extra "connect" in the path is throwing off ConnectController. I debugged ConnectController and all I can see is that the method connectedView(String providerId) is returning getViewPath() + providerId + "Connected". Method getViewPath() returns "connected/" which being a relative path just assumes it's base path is the current "/social/connect/" instead of "/social/". I think I'm just missing something trivial here if someone can point me in the right direction.

    Thanks.

  2. #2
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    I've fixed my problem. It wasn't really a quick fix, but I managed to get Spring Social connection status pages working in an app created with Roo.

  3. #3
    Join Date
    Aug 2004
    Posts
    1,072

    Default

    Glad to hear you got it worked out. For the benefit of others who may encounter the same problem, could you share what you did?

    Also, you might be interested to know that I have created a project at https://github.com/habuma/spring-social-roo that shows how I added Spring Social to a Roo project, including a README file with the steps I took. Ideally, you wouldn't need to do this manually, though. Ideally, there'd be a Roo plugin that does it all for you. But that's the subject of https://jira.springsource.org/browse/SOCIAL-312.
    Craig Walls
    Spring Social Project Lead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •