Hi,
As I was playing with the enterprise trial I think I may have bumped into two bugs:
1) Infinite request loop when using setDefaultToFirstOption(true) on an SelectItem
How to reproduce:
- Use built-in-ds sample as a base project
- In class BuiltInDS, replace onModuleLoad with this code:
2) This one is more of a nuisance than a bug, but I think it should be documented somewhere :)
- Having a datasource file named "groups.ds.xml" will cause the server to enter some kind of parsing loop which eventually will crash with a StackOverFlow
How to reproduce:
- In the built-in-sample simply rename one of the DS file to "groups.ds.xml"
I verified both problems by running "ant hosted" as instructed in the readme
As I was playing with the enterprise trial I think I may have bumped into two bugs:
1) Infinite request loop when using setDefaultToFirstOption(true) on an SelectItem
How to reproduce:
- Use built-in-ds sample as a base project
- In class BuiltInDS, replace onModuleLoad with this code:
Code:
public void onModuleLoad() { DataSource ds = DataSource.get("animals"); DynamicForm df = new DynamicForm(); SelectItem select = new SelectItem(); select.setOptionDataSource(ds); select.setDefaultToFirstOption(true); df.setFields(select); df.draw(); }
- Having a datasource file named "groups.ds.xml" will cause the server to enter some kind of parsing loop which eventually will crash with a StackOverFlow
How to reproduce:
- In the built-in-sample simply rename one of the DS file to "groups.ds.xml"
I verified both problems by running "ant hosted" as instructed in the readme
Comment