[rt-users] After migration to new server "Invalid portlet QueueList"

Joel Bergmark joel.bergmark at t3.se
Mon May 2 15:26:34 EDT 2016


Perhaps I found the problem, but not sure how to fix it:

File: /rt4/share/Elements/MyRT

Line 52-54:
<td class="boxcontainer">
% $show_cb->($_) foreach @$body;
</td>

This does not seem to be able to match this properly "% $show_cb->($_) foreach @$body;"?

In the old working installation it looks like this in the Chrome webdev tool (the MyRT-file is identical at both installations)
<table class="myrt">
<tr valign="top">

<td class="boxcontainer">
<div class="ticket-overview">
<div class="">
  <div class="titlebox" id="">
  <div class="titlebox-title">
    <span class="widget"><a href="#" onclick="return rollup('TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DUXVldWUgbGlzdA\x5F\x5F\x2D\x2D\x2D0');" title="Toggle visibility"></a></span>
    <span class="left">Queue list</span>
    <span class="right">        <a href="/Prefs/QueueList.html">        Edit</a>    </span>
  </div>
  <div class="titlebox-content " id="TitleBox--_index_html------UXVldWUgbGlzdA__---0">
<table border="0" cellspacing="0" cellpadding="1" width="100%" class="queue-summary">

But like this in the broken one:

<td class="boxcontainer">
Invalid portlet QueueList<div class="">
  <div class="titlebox" id="">
  <div class="titlebox-title">
    <span class="widget"><a href="#" onclick="return rollup('TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DMTUgaGlnaGVzdCBwcmlvcml0eSB0aWNrZXRzIEkgb3du\x2D\x2D\x2D0');" title="Toggle visibility"></a></span>
    <span class="left"><a href="/Search/Results.html?Format='%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%2FTITLE%3A%23'%2C%0A'%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%2FTITLE%3ASubject'%2C%0APriority%2C%0AQueueName%2C%0AExtendedStatus%2C%0A'__Created__'&Order=DESC%7CASC%7CASC%7CASC&OrderBy=Priority%7CCreated&Query=%20Owner%20%3D%20'__CurrentUser__'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&RowsPerPage=50">15 highest priority tickets I own</a></span>
    <span class="right">        <a href="/Prefs/Search.html?name=RT%3A%3AAttribute-3">        Edit</a>    </span>
  </div>
  <div class="titlebox-content " id="TitleBox--_index_html------MTUgaGlnaGVzdCBwcmlvcml0eSB0aWNrZXRzIEkgb3du---0">

Anyone knows where to fix this broken code?

Regards,


Från: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] För Joel Bergmark
Skickat: den 2 maj 2016 20:19
Till: rt-users at lists.bestpractical.com
Ämne: [rt-users] After migration to new server "Invalid portlet QueueList"

Hi,

I have migrated the RT installation from an old VPS running 4.4.0 without issues, to a new vps fresh install and with migrated database from MySQL to Postgres and everyting looks ok except on the RT at a glance, where the Queuelist is gone except the error "Invalid portlet QueueList".

In the debug it only gives:

May  2 20:16:32 rt RT: [29244] Odd number of elements in hash assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463.
May  2 20:16:32 rt RT: [29244] Use of uninitialized value in list assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463.

I have googled a bit and found a similar report about similar issue but from this information im not sure on how to proceed to fix it.

http://requesttracker.8502.n7.nabble.com/rt-devel-RT-4-4-0rc1-released-td60847i20.html

Anyone that has some advice?

Regards, Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160502/4fcf4414/attachment.html>


More information about the rt-users mailing list