Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4049378
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:56:16+00:00 2026-05-20T13:56:16+00:00

Apparently I don’t understand Play’s routing as well as I thought. I was trying

  • 0

Apparently I don’t understand Play’s routing as well as I thought. I was trying to get the url for a form looking the way I want, and I’m getting StackOverflowError from Groups.view‘s call to render caused by infinite recursion in play.data.binding.Unbinder.unBind(Unbinder.java:62).

This was all working fine when I had the default catch-all route. What I have now is:

GET  /groups/{<[\d\w]+=.*>rdn}      ldapauth.Groups.view
POST /groups/{<[\d\w]+=.*>rdn}  ldapauth.Groups.save

Groups.view works fine until I add a reference to Groups.save:

#{form @ldapauth.Groups.save(rdn: 'cn=test')}`
#{/form}

on the view page, then I get the error above. Anybody know what the actual problem is here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:56:17+00:00Added an answer on May 20, 2026 at 1:56 pm

    UnBind is the class that converts the parameters to the proper Java/Scala object.

    I believe your error comes from adding rdn: ‘cn=test’ to the method. Define a hidden input with the name rdn and the value you want, and let Play do the unbinding.

    I warn you this may not solve your issue though, there are many known issues related to the routing, Play doesn’t behave nicely in some scenarios. I would recommend you to change the definition of post to something like:

    POST /groups/save/{<[\d\w]+=.*>rdn}  ldapauth.Groups.save
    

    and in the last line of save you call

    view(<params>)
    

    so you are redirected back to the get view (or another method if you want to go somewhere else).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I thought I understand it, but apparently I don't. Can you help me make
I am trying to use connect-assetmanager with express. Apparently I don't understand how to
Apparently, this does not work. WHY ??????? I don't want to do all this
I'm iterating through some objects and trying to set some properties that, apparently, don't
Apparently I don't understand something about binding ListBox controls to data. Here is a
Sorry, but apparently I don't understand chaining enough to figure out this problem... I'm
I thought I understood JavaScript closures but apparently I don't. Take the following excerpt
I want to use XHTML5 but apparently they two browsers don't accept the application/xhtml+xml
Apparently, using AttachDbFilename and user instance in your connection string is a bad way
I've got this code... seems nice and elegant, but apparently the framework don't like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.