Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2658

DataChannelMetaData is null during cgen execution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.M2
    • Fix Version/s: 4.2.M3
    • Component/s: cgen
    • Labels:
      None
    • Environment:
      Mac OS X 10.15.4
      Cayenne 4.2.M2

      Description

      During cgen execution, the DataChannelMetaData instance is not set upon data map load. It looks like CgenModule does not bind to the ExtensionAwareHandlerFactory, nor does it load the InfoExtension, so when the data map is loaded, the metadata instance is null. This causes metadata lookups to fail from the MetadataUtils class that is supplied to the velocity context during class generation.

      I think fix is to have CgenModule bind to the ExtensionAwareHandlerFactory and then let ProjectModule contribute the InfoExtension.

       

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              faizel Faizel Dakri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: