Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1041

Roo Spring MVC scaffolding support for JPA custom primary keys

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.1.RELEASE
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      Controller scaffolding from this Entity with a primary key of type string currently results in a

      javax.el.PropertyNotFoundException: Property 'id' not found on type dk.prispiraten.domain.TSecurityquestion
      	at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
      	at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:170)
      	at javax.el.BeanELResolver.property(BeanELResolver.java:279)
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
      	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
      	at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
      	at org.apache.el.parser.AstDynamicExpression.getValue(AstDynamicExpression.java:42)
      	at org.apache.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:47)
      	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
      	at org.apache.jsp.tag.web.form.fields.table_tagx._jspx_meth_spring_005furl_005f0(table_tagx.java:811)
      

      where the actual property should be 'securityquestionId' for the entity listing page

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sschmidt Stefan Schmidt
                Reporter:
                andams An Dams
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: