Part of the EllisLab Network

Bug Report

parser multiple bugs

Date: 09/30/2008 Severity: Trivial
Status: Resolved Reporter: gox
Version: 1.7.0 SVN
Keywords: Libraries

Description

1. When using parse lib, we simply can’t call multiply this lib, last call overwrite before..

2. We can call parse lib multiple times ONLY with last parametr true, and thats cool But… it’s need echos in controller, what cause imposible to cache it.

3. And finally, if we call parse lib multiple times, create string adding data one by one, and we wont print out data via view lib then… WSoD raspberry
BUT, ready?... cache file will be created rightly! and after refresh caching module will displey cached page properly… creazy bitch!

Code Sample

(controller)
$this->output->cache(10);
$output = '';
$output .= $this->parser->parse('head', $head, true);
$output .= $this->parser->parse('menue', $data, true);
$output = array( 'output' => $output);
$this->load->view('output', $output);
return;

(
output view)
<?php echo $output; ?>

Expected Result

display view, not only create cache file…

Actual Result

display BSoD if no cache
display BSoD on first refresh and create cache file
display data from cached file after second refresh

Comment on Bug Report

Page 1 of 1 pages
Posted by: gox on 30 September 2008 6:38pm
no avatar

3. And finally, if we call parse lib multiple times, create string adding data one by one, and we wont print out data via view lib then… WSoD

i mean,(..)and we want(..)

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?