Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-833

ComponentType sidefiles do not work for Pojo Implementation

    XMLWordPrintableJSON

Details

    Description

      If you have a component type sidefile for a Pojo implementation we end up with an exception. The reason for this is that the JavaComponentTypeLoader passes the PojoComponenType.class to the loader registry to be returned as a result. However what gets created is an instance of the base ComponentType and then there is an attempt to narrrow this to a PojoComponentType which results in an exception.

      A quick alternative in the interest of M2 fast approaching would be to take the approach that the containers have to get over this problem which is for the containers to get the base ComponentType and copy it over to the special ones.

      Attachments

        Activity

          People

            jmarino James F. Marino
            svkrish S Venkatakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: