OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-2463

TestClient: Inputfield for parameter is not displayed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: framework-2.2.2, framework-2.3.0, openengsb-3.0.0
    • Fix Version/s: openengsb-3.0.0.M1
    • Component/s: framework
    • Labels:

      Description

      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.

        Gliffy Diagrams

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

          Hide
          Andreas Pieber added a comment -

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

          Show
          Andreas Pieber added a comment - mhm... since you've already a quite detailed idea of this problem... do you want to provide a patch?
          Hide
          Felix Mayerhuber added a comment -

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

          Show
          Felix Mayerhuber added a comment - IMHO that one isn't fixed? Andi, haven't we discussed about it when walking to the subway?
          Hide
          Felix Mayerhuber added a comment -

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

          Show
          Felix Mayerhuber added a comment - ASFAIK you have fixed OPENENGSB-2464 , which is on status in progress
          Hide
          Andreas Pieber added a comment -

          oha... true

          Show
          Andreas Pieber added a comment - oha... true
          Hide
          Andreas Pieber added a comment -

          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...

          Show
          Andreas Pieber added a comment - 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...
          Hide
          Andreas Pieber added a comment -

          this had been fixed quite some time ago already

          Show
          Andreas Pieber added a comment - this had been fixed quite some time ago already

            People

            • Assignee:
              Andreas Pieber
              Reporter:
              Christoph Prybila
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: