Hi again. I post again about this argument because I managed to understand
why this strange behavior happens on my system,

In the meanwhile I also updated the dev system to OTRS 5 and I'm in the
progress of upgrading all my files and templates.

I've finally understood that the problem is generate by the
LayoutObject->Block sections, not by my database queries as I thought
before.

For example, in my module I have something like this:

$Output .= $Self->{LayoutObject}->Block(
Name => 'HeaderTitle',
);

In the *.tt file I have the proper [% RenderBlockStart("HeaderTitle") %]
section with the proper RenderBlockEnd.

In fact, the section is correctly printed on screen.

But, togheter with the section, I got a spooky "1" on the top left corner
of the html body.

If I add another Block section, It gets correctly printed on screen, but
guess what? On the top left corner I will have a 12 (1 and 2) written. And
so on. The more Blocks i insert, the more numbers I got on the top left
corner.

I can't even start to guess what is happening here...

2016-02-18 11:43 GMT+01:00 Finetti, Stefano <sfine...@lynx-international.com
>:

> I might also add that those numbers are inserted between two <div>
> apparently outside from normal HTML code:
>
> *<div id="NavigationContainer" data-original-width="98%">*
> *<ul id="Navigation" class="Draggable ARIARoleNavigation
> ui-sortable" style="visibility: visible; left: 0px; width: 593px; right:
> auto; display: block;" role="navigation">*
> *</div>*
> * 1234567891011121314151617181920 *
> *<div class="MainBox AriaRoleMain LayoutFixedSidebar SidebarFirst">*
>
> As you can see, the first div is the NavigationContainer (the OTRS Menu),
> while the last is the MainBox container, which is used in OTRS to generate
> the "main" contents page.
>
> (The numbers are a sequence: 1 2 3 4 5 6 7 8 9 10 11 12 etc. etc.)
>
> 2016-02-18 11:35 GMT+01:00 Finetti, Stefano <
> sfine...@lynx-international.com>:
>
>> Hello everyone,
>>
>> I must confess I'm a bit lost with something that never happened before
>> with other customizations I've done in OTRS.
>>
>> I'm trying to create a module for OTRS 4 to help my colleagues work with
>> our AS400 systems. Nothing very strange, just a new menu to be used to
>> check various informations about the systems.
>>
>> I'm not completely new to OTRS customizations, and I've managed to create
>> some custom module using LayoutObject, DBObject and so. This is not a code
>> problem, or at least, not an easy one to spot.
>>
>> When I access the page I created, I got the output correctly formatted
>> from the query I run on an external DB, and, - and this is the problem - a
>> long string just below the navigation menu containing a sequence of
>> numbers, that I've identified with the number of records that my queries
>> get.
>>
>> The absolutely strange thing is that I didn't put ANY print, echo or
>> something like that in the code, and that all the output is directed
>> through LayoutObject->Block with name and data.
>> The template files has the correct names for RenderBlockStart and Stop
>> and [% Data.Variables | html %] Section. In fact, inside the RenderBlocks
>> all the output is fine.
>>
>> Since it's quite difficult even to explain the problem, I made a
>> screenshot of what I'm talking about.
>>
>> [image: Immagine incorporata 1]
>>
>> I've filtered out the output for privacy, but here is the strange output
>> just below "Dashboard".
>> I'm not using any customized layout (i.e. no files in Output/HTML/, only
>> .tt files in Output/HTML/Standard/).
>>
>> This has been haunting me for days now, without any luck.
>>
>> --
>> *Lynx International Srl*
>> *Stefano Finetti*
>> *http://www.lynx-international.com <http://www.lynx-international.com>*
>>
>> *Lynx International Srl is a part of AXED Group*
>> Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina
>>
>>
>
>
> --
> *Lynx International Srl*
> *Stefano Finetti*
> *http://www.lynx-international.com <http://www.lynx-international.com>*
>
> *Lynx International Srl is a part of AXED Group*
> Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina
>
>


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

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

-- 
This e-mail and any files transmitted contain documentation which is highly 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. All written data and other information in the 
documentation is and shall remain the property of the disclosing party. If 
you are not the intended recipient you are hereby formally notified that 
any disclosure, dissemination, forwarding, storing, copying or use of any 
of the information is strictly prohibited and will be legally pursued. If 
you received this in error, please contact the sender and destroy the 
documentation including deletion of the same from any computer. Thank you.
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to