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

DataChannelMetaData is null during cgen execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2.M2
    • 4.2.M3
    • cgen
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: