Bug 2920

Summary: Supported Interfaces are not handled correctly
Product: CoSMIC Reporter: Abdul Sowayan <abdullah.sowayan>
Component: InterpretersAssignee: Sumant Tambe <sutambe>
Status: NEW ---    
Severity: major    
Priority: P3    
Version: 0.5.6   
Hardware: All   
OS: All   

Description Abdul Sowayan 2007-05-01 13:03:27 CDT
CosMIC version: 0.5.7 (it was broken in prior releases too).

For an example that would show this, please refer to 
$CIAO_ROOT/docs/tutorials/Simple/Quoter

Broker.idl has the following definition in the example:
module Stock
{
  interface StockSubscriber {
    /// subscribe to an interested stock
    void stock_subscribe (in string stock_name)
          raises (Invalid_Stock);
    /// unsubscribe to an stock
    void stock_unsubscribe (in string stock_name)
          raises (Invalid_Stock);
  };

  /**
   * @class StockBroker
   *
   * @brief component
   */
  component StockBroker supports StockSubscriber
  {
    consumes StockName notify_in;
    uses StockQuoter read_quoter;
  };
};

When I import the example into CosMIC, notify_in and read_quoter do appear. However, the supported interface StockSubscriber does not appear at all. 

This makes difficult to work with supported interfaces. The user would have to manually edit XML files to get the desired effect or refrain from using supported interfaces all together.

Thanks,
Abdul