RTFM 2.1.40 doesn't show content from migrated database

Hi All,

Upgraded RT from 3.0.4 -> 3.4.5; applied mysql upgrades

Upgrade RTFM from 2.0.4 -> 2.1.4; applied mysql upgrades

When using RTFM I am unable to see any previous Text or Wiki content, the
classes and titles are still all there.

When trying to modify custom fields to classes assignments.

error: Can’t locate object method “HasEntry” via package "RT::CustomFields"
at /opt/rt3/share/html/RTFM/Admin/Classes/CustomFields.html line 81.

context: …

77: # Go through and delete all the custom field relationships that this
class

78: # no longer has

79:

80:

81: if ($ClassCFs->HasEntry($cf->Id)) {

82: unless (defined $ARGS{“Class-”.$ClassObj->Id."-CF-".$cf->Id} ) {

83: my ($val, $msg) = $cf->RemoveFromClass($ClassObj->Id);

84: push (@results, $msg);

85:

code stack: /opt/rt3/share/html/RTFM/Admin/Classes/CustomFields.html:81

/opt/rt3/share/html/autohandler:215

Alex

Hi All,

Upgraded RT from 3.0.4 -> 3.4.5; applied mysql upgrades

Upgrade RTFM from 2.0.4 -> 2.1.4; applied mysql upgrades

When using RTFM I am unable to see any previous Text or Wiki content, the
classes and titles are still all there.

When trying to modify custom fields to classes assignments.

error: Can’t locate object method “HasEntry” via package "RT::CustomFields"
at /opt/rt3/share/html/RTFM/Admin/Classes/CustomFields.html line 81.

context: …

77: # Go through and delete all the custom field relationships that this
class

78: # no longer has

79:

80:

81: if ($ClassCFs->HasEntry($cf->Id)) {

82: unless (defined $ARGS{“Class-”.$ClassObj->Id."-CF-".$cf->Id} ) {

83: my ($val, $msg) = $cf->RemoveFromClass($ClassObj->Id);

84: push (@results, $msg);

85:

code stack: /opt/rt3/share/html/RTFM/Admin/Classes/CustomFields.html:81

/opt/rt3/share/html/autohandler:215

The README mentions

"

Alex

Alex,

I had the same symptom in a test run update RT 3.2.2 -> 3.4.5, RTFM
2.0.4 -> 2.1.40 from one box to another box (although I didn’t try to
modify the RTFM and get that custom error message).
I tried the test run migration several times and kept getting the
symptom of being able to see the contents and titles, but the text/wiki
is blank.

I couldn’t figure it out so I kept the version of RTFM (2.0.4) the same
in my RT 3.2.2 -> 3.4.5 migration for our production system.
Everything seemed OK, and I put it in production yesterday, but then
someone pointed out that tickets with “links” to a RTFM were failing on
my our production system.

I’m getting this error message:
error: Can’t call method “Id” on an undefined value at
/usr/local/rt3/lib/RT/URI/fsck_com_rtfm.pm line 147.

More details in the message sent to rt-users 5/12/2006: “[rt-users] RTFM
2.0.4 links don’t work after RT 3.2.2 -> 3.4.5 upgrade”

Were you able to resolve this problem?

Anyone have a clue on what might be going on?
I’d really like to get this straightened out on our production system
before more people start to find those errors.

I’m not really sure what to do, I’m fairly certain that if I try the
RTFM 2.1.4 upgrade again to try to resolve my links problem it’ll get me
back to blank RTFMs (and I’m guessing broken looking tickets when they
have RTFM links).

BTW my hostname and RT URL path both changed in my update although I not
certain if this is relevant.

Thanks,
Mike

Alex Strachan wrote: