Re: [dev] weird problem with INC in GenericInterface modules

2016-04-25 Thread Renee B

To have the correct order of the directories in @INC, it should be

$ perl -I/opt/otrs/Custom -I/opt/otrs -I/opt/otrs/Kernel/cpan-lib  ...


- Renée

Am 25.04.2016 um 16:54 schrieb Vorländer, Martin:

Hi all,

or even

$ perl -I/opt/otrs -I/opt/otrs/Kernel/cpan-lib -I/opt/otrs/Custom ...

cu,
Martin




--
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Re: [dev] Package building error on OTRS 5

2016-03-19 Thread Renee B

The command should look like this:

su -c "/opt/otrs/bin/otrs.Console.pl Dev::Package::Build --source-path 
./LynxCustomersAddOn.sopm  --target-directory /tmp --module-directory ." 
-s /bin/bash otrs




Am 18.03.2016 um 09:35 schrieb Finetti, Stefano:

Maybe because the PackageIsDownloadable is set to 0?
I had a more clear error using the old package manager in otrs 4. But it
really should be better documented in the manual...

2016-03-18 9:30 GMT+01:00 Finetti, Stefano 
:


Hi,

I'm trying to bulild an .opm file from a .sopm spec file, but
otrs.Console.pl continues to give me an error without any hint of where I
should look for the problem.

When I launch this command:

su -c "/opt/otrs/bin/otrs.Console.pl Dev::Package::Build
./LynxCustomersAddOn.sopm /tmp" -s /bin/bash otrs

I always obtain:

Building package...
Error: Package cannot be built.

I've double and triple-checked the .sopm file, and it contains all the
mandatory tags as well as all the necessary tags for the module, including
file list and database operations. I've created using an XML editor in
Aptana Studio 3 (syntax highlighting and completion), and it evidences no
errors.

Is there any way to enable a more "communicative" version of the Console
that gives a bit more output to help me understand where in the sopm file
the problem is?

Thanks

P.S.
I can paste the sopm here, but it's quite long so I avoided to do it on
the first post...

--
*Lynx International Srl*
*Stefano Finetti*
*http://www.lynx-international.com *

*Lynx International Srl is a part of AXED Group*
Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina






___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev




--
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de
___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


Re: [dev] New Module doesn't work

2015-10-29 Thread Renee B
Did you check if there is a JavaScript error? Was the form submitted?

Kind regards,
Renée


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Re: [dev] Antw: Re: New Module doesn't work

2015-10-29 Thread Renee B
Do you know the "Developertools" that are shipped with most browsers. In
Firefox you can start it with Strg+Shift+i and in IE with F12. There you
can find a console and something like "network" or "network analysis"...

Am 29.10.2015 um 15:46 schrieb Josef1 Penzkofer:
> Hi Renée,
>
> how could I check it?
>


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Re: [dev] New module doesn't work

2015-09-14 Thread Renee B
Hi Sepp,

can you post the code?

*) In your config file, you should replace
"Frontend::Module###AgentTicketPhone" with
"Frontend::Module###AgentQuickticketMaske"
*) You shouldn't need the module in Kernel/System as you do not work
with a new database table.
*) Replace all "AgentTicketPhone" with "AgentQuickticketMaske" in your
config files
*) It's hard to find errors without seeing actual code...

Regards,
Renée


Am 14.09.2015 um 13:16 schrieb Josef1 Penzkofer:
> Hi community,
>
> I'm testing OTRS 4.0.10
>
> To create new tickets in a very quick way, I copied the module 
> "AgentTicketPhone".
>
> In the menubar is a new entry called "Quick-Tickets". Klicking on this item 
> is opening an overview about several categories.
>
> Clicking on one of these categories is opening a mask to create a new ticket. 
> The mask contains only a DynamicField to leave a message abut the ticket. All 
> other options are prefilled / preselected and not visible.
>
> When clicking the create-Button, nothing happens.
>
> But there is no message in the LogFiles (neither the Apache-LogFile nor the 
> OTRS-LogFile)
>
> When using the Action "New Phone ticket", the ticket will be created.
>
> I did the same on our Productivity-Instance of OTRS (OTRS 3.2.14) and ther it 
> still works.
>
> Here is in detail, what I did:
> 1.) Register the overview in SysConfig
> file: Schnell.xml
> directory: Kernel/Config/Files
>
> 2.) Modul for the Overview
> file: AgentQuickticket.pm
> directory: /Custom/Kernel/Modules
>
> 3.) Core-module for the Overview
> file: AgentQuickticket.pm
> directory: /Kernel/System
>
> 4.) Register the Mask "Creating Quickticket"
> file: AgentQuickticketMaske.xml
> directory: /Kernel/Config/Files
>
> This is a modified copy of section:
> 
> Ticket
> Frontend::Agent::ModuleRegistration
> ...
> Action=AgentQuickticketMaske
> (see: Ticket.xml)
>
> 5.) File to configurate the mask "Creating Quick-Ticket" 
> file: AgentQuickticketMaskeConf.xml
> directory: /Kernel/Config/Files
> This is a modified copy of the section
>  Valid="1">
> Sets the default priority for new phone tickets 
> in the agent interface.
> Ticket
> Frontend::Agent::Ticket::ViewPhoneNew
> ...
> (see: Ticket.xml)
>
> 6.) Modul for Action "AgentQuickticketMaske"
> file: AgentQuickticketMaske.pm
> directory: /Custom/Kernel/Modules
>
> This is a modified copy of "AgentTicketPhone.pm". It's calling the 
> TemplateFile "AgentQuickticketMaske.tt".
>
> Changes:
> package Kernel::Modules::AgentQuickticketMaske;
> ...
> TemplateFile => 'AgentQuickticketMaske',
> ...
> # create new ticket, do db insert
> Here is the preselection of values for creating a ticket.
>
> 7.) TemplateFile
> file: AgentQuickticketMaske.tt
> directory: /Custom/Kernel/Output/HTML/Standard
>
> Doing this, I walk along the instructions of the developer manual, chapter: 
> "Writing a new OTRS frontend module".
>  
> Is there any step missing?
>
> Is there any idea, what's going wrong?
>
> Thans in advance.
>
> Sepp
>
>
>
>
>
> ___
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Re: [dev] [OTRS] JavaScriptError: Cannot call method 'Init' of undefined

2015-04-08 Thread Renee B
Did you upgrade your OTRS or is it the initial installation?

On 08.04.2015 07:57, Ali Umair wrote:
 Hi,

 - Browser *(Client Browser firfox and chrome)*
 - OS *(Client browser linx and OTRS running  on Linux)*
 - OTRS Version *(3.0.6)*
 - What Host (Linux, Win) *Host is linux*
 - Webserver *(Apache)*
 - Is anything in the logs (apache / nginx error log) and OTRS Log that
 maybe related to you action
 - when does the error occur?
 *
 When i hit on Login page Too Old browser message displayed and on
 alert bo javascript message displayed of *TypeError: Cannot call
 method 'Init' of undefined* in common JS file

 In error log:*

 [Sat Mar 28 23:44:11 2015] [error] [;] File does not exist:
 /opt/iplOTRS/var/httpd/htdocs/skins/Agent/default/css-cache/CommonCSS_f0d8130800dc2d7b6a226b692b4a8776.css,
 referer:
 https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936
 [Sat Mar 28 23:44:13 2015] [error] [;] File does not exist:
 /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js,
 referer:
 https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936
 [Sat Mar 28 23:44:22 2015] [error] [;] File does not exist:
 /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js,
 referer: https://support.innovative-pk.com/otrs/index.pl



-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


Re: [dev] Antw: Re: manual file change result in package error

2014-07-03 Thread Renee B
On 03.07.2014 15:01, Peter Krall wrote:
 Hi Renée,

 are you sure custom Skins (Output\HTML) should go under Custom? It never
 actually worked for me this way either, and sounds as if it would go head
 to head against what the dev doc says about Skins:
 http://otrs.github.io/doc/manual/developer/3.3/en/html/skins.html

As you already said, Templates != Skins.

And yes, this should work (I already used that several times).

These are the lines in the code responsible for that feature:

https://github.com/OTRS/otrs/blob/rel-3_3/Kernel/Output/HTML/Layout.pm#L398
https://github.com/OTRS/otrs/blob/rel-3_3/Kernel/Output/HTML/Layout.pm#L539

https://github.com/OTRS/otrs/blob/rel-3_3/Kernel/Config/Defaults.pm#L813

See this commit:
https://github.com/OTRS/otrs/commit/4cdcff91ff8cab98d6bd351b9096714a6e490d19

I can't say why it didn't worked for you. That would need some debugging...
(Was there an old Defaults.pm or old Layout.pm? Were the correct
permissions set etc.? What version of OTRS was that? Was the config
rebuilt? Was the server restartet? ...)

Kind regards,
Renée

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de
___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


Re: [dev] manual file change result in package error

2014-07-02 Thread Renee B
You can save your customized template as

Custom/Kernel/Output/HTML/Standard/AgentTicketPhone.dtl

All files (modules and templates) in Custom/Kernel/ have a higher
precendence than those in Kernel/

- Renée

On 02.07.2014 16:13, Jon Legarrea Oteiza wrote:
 Hi,

 I upgrade to OTRS 3.3.8 and configure with ITSM and
 made a manual change that I used to make to  
 Kernel/Output/HTML/Standard/AgentTicketPhone.dtl

 now gives me an error in the ITSMIncidentProblemManagement package.

 There is a possibility to disable checking for that file, or I am thinking 
 maybe I can do a package with my changes that overwrite that file, can this 
 hypothetical package solve my problems? Do it need 
 ITSMIncidentProblemManagement package as dependence?

 Jon





 ___
 OTRS mailing list: dev - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/dev
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Re: [dev] Antw: Re: manual file change result in package error

2014-07-02 Thread Renee B
Hi Jo,


On 02.07.2014 17:12, Josef1 Penzkofer wrote:
 Hi Renée,

 and this works properly?

yes. This should even work in OTRS 3.2.x (maybe not for templates, I
can't remember when that was fixed).

 Yesterday I wrote an E-Mail to otrs...@otrs.org because I made changes in
 file CustomerTicketMessage.pm.

 Therefore I copied the file in directory /Custom/Kernel/Modules.

 The changes does not work.

Did you restart the Apache? Did you check if the original file was
loaded? Did you add some debug statements?

 The changes works, after I made the changes into file
 CustomerTicketMessage.pm; directory: /Kernel/Modules.

 Strange: I copied some other files into directory /Custom/Kernel/... and made
 changes. This changes works.

 So, whats going wrong?

I'll have a look at the source code tomorrow. Maybe there is a
difference how Customer related modules  are loaded compared to the
modules related to the Agent interface.

 Thanks in advance.

 Jo

- Renée

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


Re: [dev] OTRS Ajax/JSON Issues

2014-01-02 Thread Renee B
On 02.01.2014 15:58, Dan Stover wrote:
 Error during AJAX communication. Status: error, Error: Internal Server
 Error

What does the webserver error log say?
You should find more information there.

- Renée

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


Re: [dev] Dev API missing from http://dev.otrs.org for v3.2.x

2013-09-24 Thread Renee B
You can find the API docs at http://otrs.perl-services.de/docs/

On 24.09.2013 11:16, Bogdan Iosif wrote:
 Hi,

 Navigating http://dev.otrs.org I noticed that updates for dev API are
 missing for v3.2.x (seems it happened since source control was moved to
 github).

 Where was this info extracted from?

 //bogdan



 ___
 OTRS mailing list: dev - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/dev
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev



-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de
___
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev