[OPENENGSB-2463] TestClient: Inputfield for parameter is not displayed Created: 24/Dec/11  Updated: 28/May/14  Resolved: 17/Apr/13

Status: Closed
Project: OpenEngSB
Component/s: framework
Affects Version/s: framework-2.2.2, framework-2.3.0, openengsb-3.0.0
Fix Version/s: openengsb-3.0.0.M1

Type: Bug Priority: Major
Reporter: Christoph Prybila Assignee: Andreas Pieber
Resolution: Fixed Votes: 0
Labels: ui

Attachments: JPEG File bug2.jpg    


In the TestClient it is possible to call Methods for testing.
For some Parameters in some Methods there is no Inputfield displayed, which leads to an error if method is called.

The author suggests the following source of the problem after some testing:
In org.openengsb.ui.admin.testClient.TestClient the inputfields are created in the function populateArgumentList().
For each argument a org.openengsb.ui.admin.methodArgumentPanel.MethodArgumentPanel is created.
In the constructor of org.openengsb.ui.admin.methodArgumentPanel.MethodArgumentPanel a org.openengsb.ui.common.editor.BeanEditorPanel is added (depending on the class of the parameter).
In the constructor of org.openengsb.ui.common.editor.BeanEditorPanel for each attribute a field is created.
The problem is that the functioncall MethodUtil.buildAttributesList(type); returns an empty list, therefore no field ist created.

Comment by Andreas Pieber [ 25/Dec/11 ]

mhm... since you've already a quite detailed idea of this problem... do you want to provide a patch?

Comment by Felix Mayerhuber [ 28/Dec/11 ]

IMHO that one isn't fixed? Andi, haven't we discussed about it when walking to the subway?

Comment by Felix Mayerhuber [ 28/Dec/11 ]

ASFAIK you have fixed OPENENGSB-2464, which is on status in progress

Comment by Andreas Pieber [ 29/Dec/11 ]

oha... true

Comment by Andreas Pieber [ 29/Dec/11 ]

this one is a really heavy one since it also requires additional features at various places. We need a way to find out which classes implement the real interface behind, and propose them to the users first; before we can create the bean-classes to enter the data...

Comment by Andreas Pieber [ 17/Apr/13 ]

this had been fixed quite some time ago already

Generated at Wed Jun 20 01:40:01 CEST 2018 using JIRA 6.3.13#6344-sha1:62d2b41c1ddfd5b5a56568898407231b0d9c17cb.