OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-3283

Improve the function toOpenEngSBModelEntries so that it checks if the getter it refers really exists

    Details

    • Changelog:
      Hide
      Now there exists a check in the model weaving, which checks if getters, which would be called in the injected code, are existing before the call is added to the injected code. If there is no getter existing, a warning will be printed and the corresponding field is ignored.
      Show
      Now there exists a check in the model weaving, which checks if getters, which would be called in the injected code, are existing before the call is added to the injected code. If there is no getter existing, a warning will be printed and the corresponding field is ignored.
    • Sprint:
      Sprint 7, Sprint 8

      Description

      Until now, the algorithm just assumes that the corresponding getter is available (the getters need to be used, since direct field access doesn't work when there are super classes involved). A simple check if the getter is there before the corresponding command is added to the method body should be enough. Also there should be a logger warn message if the setter isn't there.

        Gliffy Diagrams

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

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Felix Mayerhuber
              Reporter:
              Felix Mayerhuber
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile