Ticket #3441 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Apache Template should set 'page_id' not 'pageid'

Reported by: sf03r@… Owned by:
Priority: Would be nice Milestone: EPrints 3.1.2
Component: - Version:
Severity: normal Keywords:
Cc:

Description

When Apache::Template::handler calls session->prepare_page, it should set the 'page_id' option, not 'pageid'. This is a typo basically.

This is only a problem if some page hooks are defined as they would never get called.

Patch for this is:

99c99 < $session->prepare_page( $parts, pageid=>"static", template=>$template ); ---

$session->prepare_page( $parts, page_id=>"static", template=>$template );

Change History

Changed 5 years ago by cjg

  • status changed from new to closed
  • resolution set to fixed

fixed in r3961

Note: See TracTickets for help on using tickets.