Giter Site home page Giter Site logo

Comments (11)

jaliss avatar jaliss commented on June 30, 2024

Thanks for the kind words!

You're right, the JS file is not there. But the module is not using any jquery calls. Maybe I should just remove the include in the main.html template.

Curious about what did break for you? You're the first one to notice this.

from securesocial.

zenoexo avatar zenoexo commented on June 30, 2024

Play noticed the missing route from the main.html template (see trace). I agree, if it's not used, should probably be removed. Are you sure that Bootstrap css is not requiring it though?

Internal Server Error (500) for request GET /auth/login

No route found (In {module:securesocial-0.2.3}/app/views/securesocial/SecureSocial/main.html around
line 9)
No route able to display file /public/javascripts/jquery-1.5.2.min.js (file not found) was found.

play.exceptions.NoRouteFoundException: No route found
at play.templates.BaseTemplate.throwException(BaseTemplate.java:80)
at play.templates.GroovyTemplate.internalRender(GroovyTemplate.java:242)
at play.templates.GroovyTemplate.internalRender(GroovyTemplate.java:267)
at play.templates.Template.render(Template.java:26)
at play.templates.GroovyTemplate.render(GroovyTemplate.java:187)
at play.mvc.results.RenderTemplate.(RenderTemplate.java:24)
at play.mvc.Controller.renderTemplate(Controller.java:660)
at play.mvc.Controller.renderTemplate(Controller.java:640)
at play.mvc.Controller.render(Controller.java:695)
at controllers.securesocial.SecureSocial.login(SecureSocial.java:159)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:548)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:502)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:478)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:473)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)
at Invocation.HTTP Request(Play!)

from securesocial.

jaliss avatar jaliss commented on June 30, 2024

Weird ... I do not see that error. What version of play are you using? Have you tried SecureSocial 0.2.4?

from securesocial.

zenoexo avatar zenoexo commented on June 30, 2024

Play 1.2.4.
~ play! 1.2.4, http://www.playframework.org
~
1.2.4

And as of yesterday, I pulled in SecureSocial's latest from this repository. But your comment just reminded me of something. I did not update my depencencies.yaml with SecureSocial 0.2.4 (it was left at .3) That threw a wrench in the works when I ran clean and dependencies on Play. So, just now, I deleted the .3 module (In the application modules), cleaned reran dependencies and still hit the missing route to the javascripts. It's not a show stopper though.

from securesocial.

sudhcha avatar sudhcha commented on June 30, 2024

I just added - play -> securesocial 0.2.4 to my dependencies in play 1.2.4 and ran into the same issue as above.

No route found (In {module:securesocial-0.2.4}/app/views/securesocial/SecureSocial/main.html around line 9)
No route able to display file /public/javascripts/jquery-1.5.2.min.js (file not found) was found.
play.exceptions.NoRouteFoundException: No route found

from securesocial.

timrwilliams avatar timrwilliams commented on June 30, 2024

I see same issue with play 1.2.4 & securesocial 0.2.4. I've removed the offending line from main.html and the module works fine so think its safe to remove from committed version.

thanks for the module by the way, very nice.

from securesocial.

sudhcha avatar sudhcha commented on June 30, 2024

Thanks. I too fixed it that way.

from securesocial.

jaliss avatar jaliss commented on June 30, 2024

you're welcome @timrwilliams. Glad you like the module!

from securesocial.

jaliss avatar jaliss commented on June 30, 2024

Hi All, I've been pretty busy lately. Will try to make some time to review all the tickets soon. Thanks.

from securesocial.

jaliss avatar jaliss commented on June 30, 2024

I cannot reproduce this. Let me know if it's still happening. Thanks.

from securesocial.

jcalfee avatar jcalfee commented on June 30, 2024

I just upgraded to securesocial 0.2.5 and the problem appears. I saw this is securesocial 0.2.4 too. I have a comment in my project that I use as a work-around:

Might be NEEDED: cp modules/securesocial-0.2.5/samples-and-tests/testapp/public/javascripts/jquery-1.5.2.min.js public/javascripts

from securesocial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.