Tapestry 5
  1. Tapestry 5
  2. TAP5-767

PropertyConduitSourceImpl should use english locale (instead of default locale) when evaluating decimals

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.2.0, 5.1.0.6, 5.1.0.7
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      -------------------------------------------------------------------------------
      Test set: TestSuite
      -------------------------------------------------------------------------------
      Tests run: 1401, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 371.469 sec <<< FAILURE!
      list_as_method_argument(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0.031 sec <<< FAILURE!
      java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b97: [source error] ) is missing
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:714)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:424)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080)
      at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.list_as_method_argument(PropertyConduitSourceImplTest.java:363)
      Caused by: javassist.CannotCompileException: [source error] ) is missing
      at javassist.CtBehavior.setBody(CtBehavior.java:368)
      at javassist.CtBehavior.setBody(CtBehavior.java:334)
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209)
      ... 37 more
      Caused by: compile error: ) is missing
      at javassist.compiler.Parser.parseArgumentList(Parser.java:1337)
      at javassist.compiler.Parser.parseMethodCall(Parser.java:1177)
      at javassist.compiler.Parser.parsePostfix(Parser.java:1034)
      at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887)
      at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774)
      at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718)
      at javassist.compiler.Parser.parseExpression(Parser.java:698)
      at javassist.compiler.Parser.parseDeclarationOrExpression(Parser.java:590)
      at javassist.compiler.Parser.parseStatement(Parser.java:276)
      at javassist.compiler.Parser.parseBlock(Parser.java:288)
      at javassist.compiler.Parser.parseStatement(Parser.java:242)
      at javassist.compiler.Javac.compileBody(Javac.java:213)
      at javassist.CtBehavior.setBody(CtBehavior.java:360)
      ... 39 more

      method_invocation_with_double_argument(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0.015 sec <<< FAILURE!
      java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b9c: [source error] ) is missing
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:714)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:424)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080)
      at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.method_invocation_with_double_argument(PropertyConduitSourceImplTest.java:299)
      Caused by: javassist.CannotCompileException: [source error] ) is missing
      at javassist.CtBehavior.setBody(CtBehavior.java:368)
      at javassist.CtBehavior.setBody(CtBehavior.java:334)
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209)
      ... 37 more
      Caused by: compile error: ) is missing
      at javassist.compiler.Parser.parseArgumentList(Parser.java:1337)
      at javassist.compiler.Parser.parseMethodCall(Parser.java:1177)
      at javassist.compiler.Parser.parsePostfix(Parser.java:1034)
      at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887)
      at javassist.compiler.Parser.parseCast(Parser.java:917)
      at javassist.compiler.Parser.parseUnaryExpr(Parser.java:885)
      at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774)
      at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718)
      at javassist.compiler.Parser.parseExpression(Parser.java:698)
      at javassist.compiler.Parser.parseReturn(Parser.java:506)
      at javassist.compiler.Parser.parseStatement(Parser.java:268)
      at javassist.compiler.Parser.parseBlock(Parser.java:288)
      at javassist.compiler.Parser.parseStatement(Parser.java:242)
      at javassist.compiler.Javac.compileBody(Javac.java:213)
      at javassist.CtBehavior.setBody(CtBehavior.java:360)
      ... 39 more

      top_level_list(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0 sec <<< FAILURE!
      java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b9d: [source error] ) is missing
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createListGetter(PropertyConduitSourceImpl.java:502)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:445)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080)
      at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.top_level_list(PropertyConduitSourceImplTest.java:337)
      Caused by: javassist.CannotCompileException: [source error] ) is missing
      at javassist.CtBehavior.setBody(CtBehavior.java:368)
      at javassist.CtBehavior.setBody(CtBehavior.java:334)
      at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209)
      ... 37 more
      Caused by: compile error: ) is missing
      at javassist.compiler.Parser.parseArgumentList(Parser.java:1337)
      at javassist.compiler.Parser.parseMethodCall(Parser.java:1177)
      at javassist.compiler.Parser.parsePostfix(Parser.java:1034)
      at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887)
      at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774)
      at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718)
      at javassist.compiler.Parser.parseExpression(Parser.java:698)
      at javassist.compiler.Parser.parseDeclarationOrExpression(Parser.java:590)
      at javassist.compiler.Parser.parseStatement(Parser.java:276)
      at javassist.compiler.Parser.parseBlock(Parser.java:288)
      at javassist.compiler.Parser.parseStatement(Parser.java:242)
      at javassist.compiler.Javac.compileBody(Javac.java:213)
      at javassist.CtBehavior.setBody(CtBehavior.java:360)
      ... 39 more

        Activity

        Igor Drobiazko made changes -
        Fix Version/s 5.1.0.7 [ 12314494 ]
        Igor Drobiazko made changes -
        Fix Version/s 5.1.0.6 [ 12314399 ]
        Robert Zeigler made changes -
        Fix Version/s 5.2.0.0 [ 12314122 ]
        Fix Version/s 5.2 [ 12313900 ]
        Igor Drobiazko made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2 [ 12313900 ]
        Resolution Fixed [ 1 ]
        Igor Drobiazko made changes -
        Summary Fix PropertyConduitSourceImplTest PropertyConduitSourceImpl should use english locale (instead of default locale) when evaluating decimals
        Igor Drobiazko made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Igor Drobiazko made changes -
        Field Original Value New Value
        Assignee Igor Drobiazko [ igor.drobiazko ]
        Igor Drobiazko created issue -

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Igor Drobiazko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development