Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1434

Create new Data Object form must provide "Remotable" option

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.6.0.Final
    • Data Object Modeller
    • None
    • NEW
    • NEW

      The "Create new Data Object" form only allows me to configure "JPA / Persistable". IMO we should also provide the "Remotable" option in this screen, including an explanation of the option (or even enable it by default, The "Remotable" option is now somewhat hidden in one of the configuration options and hard to find for a first-time user).

      Reason for this is that when you use your Data Object in jBPM or Drools, of which the runtime is now KIE-Server, you always need to have your Data Objects be "remotable" for RESTful interaction between kie-server-client and kie-server using these data objects to actually work.

      A user will hit this issue quite quickly. If he/she creates a jBPM process with a process variable of a type created by the Data Modeller (non-remotable), and uses the default MarshallingFormat of KIE-Server-Client (which is JAXB), and passes an instance of this object when starting the process, the object will not be unmarshalled on the KIE-Server, resulting in a "null" process variable (this is also caused by our OpenShift KIE-Server template setting "DROOLS_SERVER_FILTER_CLASSES=true").

      Providing the "Remotable" config option in the "Create new Data Object" form, which is by default set to true, will make sure that less users will hit a problem like this.

              wmedvede@redhat.com Walter Medvedeo
              rhn-gps-ddoyle Duncan Doyle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: