Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-317

BaseBean does generate fields for referencing objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0
    • 5.0
    • Templates
    • None
    • Centos 6.4, Java 8

    Description

      In the baseBean.vm template the field definitions for referenced objects mergepoints are present but the generated beans do not contain the fields. The methods do properly reference the fields but the code does not compile because the field declarations are missing.

        1. field definitions for referenced objects
          #if ($torqueGen.booleanOption("torque.om.complexObjectModel"))
          $torqueGen.mergepoint("fieldDefinitionsReferencedObjects")
          ##
        2. field definitions for referencing objects
          $torqueGen.mergepoint("fieldDefinitionsReferencingObjects")
          #end

      I am not familiar enough with templates to figure why it isn't working.

      Attachments

        Activity

          People

            tfischer Thomas Fox
            rdecker Rob Decker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: