derive CRUD pages breaks on entity with more than 10 properties
Submitted by Danny Groenewegen on 19 November 2010 at 14:25entity Test{ p1 :: String p2 :: String p3 :: String p4 :: String p5 :: String p6 :: String p7 :: String p8 :: String p9 :: String p10 :: String p11 :: String } derive crud Test
Issue Log
On 19 November 2010 at 14:25 Danny Groenewegen commented:
[java] [ Main | info ] stage 7: renaming identifiersMain: rewriting failed, trace: [java] webdslc_main_0_0 [java] xtc_io_wrap_5_0 [java] option_wrap_5_0 [java] xtc_io_1_0 [java] xtc_temp_files_1_0 [java] restore_always_2_0 [java] xtc_webdslc_0_0 [java] stage_1_1 [java] dr_scope_1_1 [java] log_timed_1_1 [java] rename_identifiers_top_0_0 [java] map_toplevel_2_0 [java] alltd_1_0 [java] map_1_0 [java] dr_scope_1_1 [java] dr_scope_1_1 [java] with_toplevel_name_1_0 [java] with_toplevel_name_1_1 [java] dr_scope_1_1 [java] alltd_1_0 [java] rename_template_def_id_0_0 [java] TemplateNewName_0_0 [java] dr_lookup_rule_0_2 [java] dr_lookup_rule_0_2 [java] dr_lookup_rule_1_2 [java] dr_lookup_rule_1_2 [java] [ Main | critical ] Internal error: with clause failed unexpectedly in rule 'rename-template-def-id' [java] Define([Template],"Test_inputp111"{"Test_inputp1111"},[Arg("editTest_body1_arg11"{"Test_inputp111_editTest_body1_arg110"},SimpleSort("Test"){EntityAnno("id",None,False),DefValueAnno(Null),IsRefSort}){IsTemplateArg}],None,[TemplateCall("row",[],[],TemplateBody([TemplateCall("label"{"Test_inputp111_label0"},[String("P11: "){TypeAnno(SimpleSort("String"){DefValueAnno(String(""))})}],[],TemplateBody([TemplateCall("inputString",[FieldAccess(Var("editTest_body1_arg11"{"Test_inputp111_editTest_body1_arg110"}){TypeAnno(SimpleSort("Test"){EntityAnno("id",None,False),DefValueAnno(Null),IsRefSort})},"p11"){TypeAnno(SimpleSort("String"){DefValueAnno(String(""))})}],[PropertyAssignment("class","inputp11"){TypeAnno(SimpleSort("Void"))}],TemplateBody([For("val",SimpleSort("ValidationException"){EntityAnno("id",None,False),DefValueAnno(Null)},FieldAccess(Call(Var("editTest_body1_arg11"{"Test_inputp111_editTest_body1_arg110"}){TypeAnno(SimpleSort("Test"){EntityAnno("id",None,False),DefValueAnno(Null),IsRefSort})},"validateP11",[]){TypeAnno(SimpleSort("ValidationExceptionMultiple"){EntityAnno("id",None,False),DefValueAnno(Null)})},"exceptions"){TypeAnno(GenericSort("List",[SimpleSort("ValidationException"){EntityAnno("id",None,False),DefValueAnno(Null)}]){DefValueAnno(TypedListCreation(SimpleSort("ValidationException"),[]))})},Filter(True{TypeAnno(SimpleSort("Bool"){DefValueAnno(False)})},OrderAscending(Null{TypeAnno(SimpleSort("Null"))}){TypeAnno(SimpleSort("Null"))},Limit(Int("1000"){TypeAnno(SimpleSort("Int"){DefValueAnno(Int("0"))})},Int("0"){TypeAnno(SimpleSort("Int"){DefValueAnno(Int("0"))})})),[TemplateCall("validate",[False{TypeAnno(SimpleSort("Bool"){DefValueAnno(False)})},FieldAccess(Var("val"),"message")],[],TemplateBody([]))],None)])){EntityInvariantTemplateGenerated}]))]))])
Log in to post comments