[jboss-jira] [JBoss JIRA] (DROOLS-3770) Fix generic type retrieval inside SetPropertyHeaderCommand

Gabriele Cardosi (Jira) issues at jboss.org
Mon Mar 18 06:18:00 EDT 2019


Gabriele Cardosi created DROOLS-3770:
----------------------------------------

             Summary: Fix generic type retrieval inside SetPropertyHeaderCommand
                 Key: DROOLS-3770
                 URL: https://issues.jboss.org/browse/DROOLS-3770
             Project: Drools
          Issue Type: Bug
            Reporter: Gabriele Cardosi
            Assignee: Gabriele Cardosi


The property editing information for a given column (included the DOMELEmentFactory) are set inside SetPropertyHeaderColumn.
If the property is a collection, its generic type is retrieved with informations from the context.
Currently, this mechanism uses the "steps" stored inside "elements", that point to full path of the property (and a mapped entry must exists).
This is broken for top-level collection because are mapped in a different way, so a compatible method for different situations must be implemented



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list