<div dir="ltr"><div><div><div>In addition to the "pivatekey" errors for the users, I've also this error concerning the templates :<br><br>[10040] [Wed Jul 16 12:07:07 2014] [warning]: DBD::Pg::st execute failed: ERREUR: la fonction lower(integer) n'existe pas<br>
LIGNE 1 : SELECT * FROM Templates WHERE LOWER(Id) = LOWER($1)<br> ^<br>ASTUCE : Aucune fonction ne correspond au nom donné et aux types d'arguments.<br>Vous devez ajouter des conversions explicites de type. at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm line 589. (/usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm:589)<br>
[10040] [Wed Jul 16 12:07:07 2014] [warning]: RT::Handle=HASH(0xfe55e0) couldn't execute the query 'SELECT * FROM Templates WHERE LOWER(Id) = LOWER(?)' at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm line 602.<br>
DBIx::SearchBuilder::Handle::SimpleQuery(RT::Handle=HASH(0xfe55e0), "SELECT * FROM Templates WHERE LOWER(Id) = LOWER(?)", "Admin Comment in HTML") called at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Record.pm line 1234<br>
DBIx::SearchBuilder::Record::_LoadFromSQL(RT::Template=HASH(0x7186be8), "SELECT * FROM Templates WHERE LOWER(Id) = LOWER(?)", "Admin Comment in HTML") called at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Record.pm line 1153<br>
DBIx::SearchBuilder::Record::LoadByCols(RT::Template=HASH(0x7186be8), "LOWER(Id)", HASH(0x7144b68)) called at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Record/Cachable.pm line 120<br> DBIx::SearchBuilder::Record::Cachable::LoadByCols(RT::Template=HASH(0x7186be8), "LOWER(Id)", HASH(0x7144b68)) called at /opt/rt4/sbin/../lib/RT/Record.pm line 417<br>
RT::Record::LoadByCols(RT::Template=HASH(0x7186be8), "Id", "Admin Comment in HTML") called at /opt/rt4/sbin/rt-dump-metadata line 175 (/usr/local/share/perl/5.14.2/Carp.pm:169)<br><br></div>I'm using a pg database, mysql may be more permissive with the function lower().<br>
<br></div>And to be complete I also have some warnings complaining about deprecating functions<br><br>[10373] [Wed Jul 16 12:11:34 2014] [warning]: The function RT::Group::Type is deprecated, and will be removed in RT 4.4. You should use Name instead. Call stack:<br>
RT::Group::Type(RT::Group=HASH(0x6f92e48)) called at /opt/rt4/sbin/rt-dump-metadata line 236 (/opt/rt4/sbin/../lib/RT.pm:955)<br>[10373] [Wed Jul 16 12:11:34 2014] [warning]: The function RT::CustomField::AppliedTo is deprecated, and will be removed in RT 4.4. You should use AddedTo instead. Call stack:<br>
RT::CustomField::AppliedTo(RT::CustomField=HASH(0x6f161f0)) called at /opt/rt4/sbin/rt-dump-metadata line 197 (/opt/rt4/sbin/../lib/RT.pm:955)<br><br><br></div>Regards,<br>Rémi<br><br><div><br><br><div><div><br><br>
</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-16 11:18 GMT+02:00 Christian Loos <span dir="ltr"><<a href="mailto:cloos@netcologne.de" target="_blank">cloos@netcologne.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 16.07.2014 11:00, schrieb Joop:<br>
<div><div class="h5">> On 16-7-2014 4:23, Alex Peters wrote:<br>
>><br>
>> Please report these errors and warnings, because anything that ships<br>
>> directly with RT 4.2 should definitely be fully supported by RT 4.2.<br>
>><br>
> Don't know if I'm seeing the same errors but here are mine which<br>
> suprised me quite a bit when running rt-dump-metadata<br>
> [22390] [Wed Jul 16 08:52:21 2014] [warning]: DBD::Pg::st execute<br>
> failed: ERROR: column "privatekey" does not exist<br>
> LINE 1: SELECT privatekey FROM Users WHERE id = $1<br>
> ^ at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line<br>
> 509. (/usr/share/perl5/DBIx/SearchBuilder/Handle.pm:509)<br>
> [22390] [Wed Jul 16 08:52:21 2014] [warning]: RT::Handle=HASH(0x2d51f68)<br>
> couldn't execute the query 'SELECT privatekey FROM Users WHERE id = ?'<br>
> at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 522.<br>
> DBIx::SearchBuilder::Handle::SimpleQuery() called at<br>
> /usr/share/perl5/DBIx/SearchBuilder/Record.pm line 714<br>
> DBIx::SearchBuilder::Record::__Value() called at<br>
> /opt/rt4/sbin/../lib/RT/Record.pm line 644<br>
> RT::Record::__Value() called at ./sbin/rt-dump-metadata line 174<br>
> (/usr/local/share/perl/5.10.1/Carp.pm:103)<br>
><br>
> I haven't the faintest idea where 'privatekey' is coming from. It<br>
> certainly isn't in my users table (pgpkey is). I'm running rt-4.0.20 and<br>
> rt-4.2.5 and both have the same problem only when invoked with the '-a'<br>
> flag.<br>
> Running it without any parameters seems to produce valid output but also<br>
> those warnings.<br>
><br>
> Joop<br>
><br>
<br>
</div></div>There is already a bug report open for this [1] and a branch with only<br>
one commit [2] which needs review.<br>
<br>
Chris<br>
<br>
[1] <a href="http://issues.bestpractical.com/Ticket/Display.html?id=22465" target="_blank">http://issues.bestpractical.com/Ticket/Display.html?id=22465</a><br>
[2]<br>
<a href="https://github.com/bestpractical/rt/commit/51ebb3affde6195fa3ce00e7a1343ba7e7971385" target="_blank">https://github.com/bestpractical/rt/commit/51ebb3affde6195fa3ce00e7a1343ba7e7971385</a><br>
<div class="HOEnZb"><div class="h5">--<br>
RT Training - Boston, September 9-10<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
</div></div></blockquote></div><br></div>