Skip to content

Commit

Permalink
Document ticket/asset display changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnavy committed Jul 25, 2024
1 parent e64f781 commit fc14586
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/UPGRADING-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,43 @@ fields using the C<%CustomFieldGroupings> option.

=item *

Now you can customize ticket/asset display pages via L<RT_Config/%WebDisplay>
and some callbacks have been removed because of the change. If you use these
callbacks, you will need to migrate it to a widget and add it to
L<RT_Config/%WebDisplay> accordingly. To make RT upgrade easier, we have ported
some of them so they can still work in RT 6.0, but it's strongly recommended to
migrate all of them now.

Affected callbacks include:

=over

=item /Ticket/Display.html BeforeShowSummary

You can switch to C<BeforeWidget> in C</Elements/ShowWidgetSection>.

=item /Ticket/Display.html BeforeShowHistory

It's been ported to C</Ticket/Widget/History>, but C<Transactions> and
C<Attachments> arguments are absent. You can switch to C<BeforeWidget>.

=item /Asset/Display.html AfterShowSummary

You can switch to C<AfterWidget> in C</Elements/ShowWidgetSection>.

=item /Asset/Display.html AfterShowHistory

It's been ported to C</Asset/Widget/History>, you can switch to C<AfterWidget>.

=back

Besides, C</Ticket/Elements/ShowSummary> and C</Asset/Elements/ShowSummary> are
not called on display pages any more. If you have a customized version, you
will need to customize corresponding widgets like "/Ticket/Widgets/Basics",
"/Asset/Widgets/Basics", etc.

=item *

The following dependent libraries are updated to the new versions listed
below in RT 6:

Expand Down

0 comments on commit fc14586

Please sign in to comment.