Ticket #367 (closed Bug: fixed)

Opened 10 months ago

Last modified 10 months ago

Errors in Modules Kodoc

Reported by: OscarB Owned by: Shadowhand
Priority: minor Milestone: 2.1
Component: Modules Version: SVN HEAD
Keywords: kodoc html helper index.php Cc:

Description (last modified by Shadowhand) (diff)

1 . The menu is not collapsible.

Cause: javascript is not loaded, since #1825 'index.php' not included by default. Fix: Add TRUE to script load in modules/kodoc/views/kodoc/template.php

echo html::script(array
(
	'kodoc/media/js/jquery',
	'kodoc/media/js/plugins',
	'kodoc/media/js/effects'
),TRUE)

2. Selecting certain library menu items results in Runtime error Undefined offset: 1

Cause: Seems to be related to top level library menu items which have an associated 'driver' Probably since drivers were moved to their own directories in r1841.

Change History

Changed 10 months ago by OscarB

Further testing showed:

index.php/kodoc/libraries/Archive : Runtime error, undefined offset 1

index.php/kodoc/libraries/Archive/Zip : Warning message, Invalid argument supplied for foreach()

The warning message is also found on numerous library menu entries

Changed 10 months ago by Shadowhand

  • owner changed from - No owner - to Shadowhand
  • status changed from new to assigned

Changed 10 months ago by Shadowhand

  • keywords kodoc html helper index.php added
  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r1936.

Changed 10 months ago by Shadowhand

  • description modified (diff)
Note: See TracTickets for help on using tickets.