Hello all,
    Please disregard the previous message - found out about my confusion.


On 3/17/07, Robert Bui < joatpm@gmail.com> wrote:
Hello all,
  I am trying to write a module that will take in the customer ID and ticket number, without requiring the customer to log in, able to search and display the ticket detail including status.
  Base on the documentation, I got the module skeleton all work out. However, when I trying debugging the module, I get Kernel::System::Web::InterfaceAgent::Run invoked as well as my own module, Ticket.new():Kernel::Modules::PublicTicketSearch::Run. For some reasons, Kernel::Modules::PublicTicketSearch::Run creates an instance of a TicketObj and invokes the TicketObj.TicketSearch function.
  Could someone assist by enlightening me on why/how Kernel::System::Web::InterfaceAgent::Run got called. What I did was I copied InterfacePublicTicketSearch.pm from InterfaceAgent.pm and have changed all references from InterfaceAgent to InterfacePublicTicketSearch.
  Inside the CGI-script, I have these lines:
# load agent web interface
use Kernel::System::Web::InterfacePublicTicketSearch();

# create new object
my $Interface = Kernel::System::Web::InterfacePublicTicketSearch->new(Debug => $Debug);


  Your help is greatly appreciated.

Regards,

Robert Bui