Upgrade: RTFM Article, Content CustomField not displaying

Hi,

When viewing/editing an RTFM Article, Content CustomField is not displaying.

This is after installing a fresh copy of RT 3.8.17 + RTFM 2.4.5 and pointing at copy of database, and upgraded as per steps in: http://www.bestpractical.com/docs/rt/3.8/UPGRADING.html from 3.8.2.
I chose not to run optional “perl etc/upgrade/split-out-cf-categories” in 3.8.5 step.

CustomFields already exist; I don’t need to create new ones. The data in database has not changed during database upgrade.

Test system ( RT 3.8.17 + RTFM 2.4.5 ):

For both menus:
Menu: RTFM -> Configuration -> Custom Fields
Menu: Configuration -> RTFM -> Custom Fields

	Lists record #32 from the "CustomFields" table. "Applied" column is empty.
	Lists record #31 from the "CustomFields" table. "Applied" column is empty.

	Clicking on each CustomField, "Applies to" is "RTFM Articles".

	I think it should be referencing CF records from "FM_CustomFields" table instead?

Works fine with RT 3.8.2 + RTFM 2.4.1.

Is this a bug or have I missed something?

Thanks,
Anthony

Test system ( RT 3.8.17 + RTFM 2.4.5 ):

For both menus:
Menu: RTFM -> Configuration -> Custom Fields
Menu: Configuration -> RTFM -> Custom Fields

  Lists record #32 from the "CustomFields" table. "Applied" column is empty.
  Lists record #31 from the "CustomFields" table. "Applied" column is empty.

  Clicking on each CustomField, "Applies to" is "RTFM Articles".

Are you quoting us the Applies To dropdown or the results of clicking
on the Applies To link, which is where you apply Custom Fields to
appropriate RT objects?

  I think it should be referencing CF records from "FM_CustomFields" table instead?

FM_CustomFields has not been a relevant RTFM table since before the
2.4.0 release. All RTFM CF data is stored in RT’s core Custom Field
tables.

-kevin

Hi Kevin,

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-
users-bounces@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: 20 August 2013 13:29
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Upgrade: RTFM Article, Content
CustomField not displaying

Test system ( RT 3.8.17 + RTFM 2.4.5 ):

For both menus:
Menu: RTFM → Configuration → Custom Fields
Menu: Configuration → RTFM → Custom Fields

  Lists record #32 from the "CustomFields" table.

“Applied” column is empty.

  Lists record #31 from the "CustomFields" table.

“Applied” column is empty.

  Clicking on each CustomField, "Applies to" is

“RTFM Articles”.

Are you quoting us the Applies To dropdown or the results of
clicking
on the Applies To link, which is where you apply Custom Fields to
appropriate RT objects?

Test system: for each CustomField, the “Applies to” drop down box has “RTFM Articles” selected.
Production system: “Tickets” is selected instead and does not display an “RTFM Articles” option. Assigning this “Tickets” option in my test system appears to have no effect.

Test system: for each CustomField, clicking on the “Applies to” link shows a list of unselected objects - RT and my queues. Selecting these and submitting, does not display the CF in the Article’s page.

  I think it should be referencing CF records from

“FM_CustomFields” table instead?

FM_CustomFields has not been a relevant RTFM table since
before the
2.4.0 release. All RTFM CF data is stored in RT’s core Custom
Field
tables.

Good to know.

Hope this sheds more light,
Anthony

Production system: “Tickets” is selected instead and does not display an “RTFM Articles” option. Assigning this “Tickets” option in my test system appears to have no effect.

I’m a little confused how RTFM works on production if you don’t see
RTFM Articles as a Custom Field option.

I assume it worked when you set up the system, but then someone broke
something later (Since you mention the FM_CustomFields table I know
you upgraded from a very old RTFM at some point).

You can go look in the Database at the LookupType field to confirm.

Assigning it to Tickets in test would just break.

Test system: for each CustomField, clicking on the “Applies to” link
shows a list of unselected objects - RT and my queues. Selecting these
and submitting, does not display the CF in the Article’s page.

It shouldn’t show Queues, it’ll show classes.

Change it back to RTFM Articles, then click on Applies to and then
assign it to the relevant Classes.

-kevin