Announcement Announcement Module
Collapse
No announcement yet.
/myapp/connect/linkedin redirects to /myapp/connect/connect/linkedinConnected Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • /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
    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.

    Comment


    • #3
      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.

      Comment

      Working...
      X