3.5 Alpha: Hidden State

Author Message

Alex Jones

Wednesday 06 October 2004 1:06:44 pm

Before I report this as a bug, the ability to hide or show an object is supposed to work in 3.5 Alpha right? I understand the implementation is rudimentary, but it seems to work on the demo version here at ez.no, but not on the version I installed last night (fresh install of rev 7265). While the system seems to go through the process when I click the link, ultimately depositing me in the parent folder of that object, the show hide state doesn't change at all.

Feedback would be very helpful!

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Frederik Holljen

Thursday 07 October 2004 12:02:14 am

which version are you running? Rev 7265 doesn't have hide at all. (it's from july)

Frederik Holljen

Thursday 07 October 2004 12:56:10 am

You are probably running some newer version. Turn off viewcaching and see if it works then..

Alex Jones

Thursday 07 October 2004 7:02:24 am

Well, I copied and pasted the Rev number (and have since double checked it) from the System Info page. I will turn off Viewcaching and see if that makes a difference.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Thursday 07 October 2004 7:11:09 am

Disabling Viewcache didn't make a difference. Should I grab an SVN copy? If so, is there a specific rev that would be best for me to pull?

FYI, here is the info from my system information screen. The install I used was the ezpublish-3.5.0alpha1.zip linked to from this page: http://ez.no/company/news/ez_publish_3_5_alpha_release

Version
3.5.0alpha1 (3.5.0alpha1)
SVN revision 
7265
Extensions

PHP
Version 4.3.7

Extensions
zip, xslt, xmlrpc, xml, wddx, tokenizer, standard, session, pspell,
posix, pcre, overload, mysql, gettext, gd, ftp, exif, domxml, curl, 
ctype, bz2, zlib, openssl, apache

Miscellaneous
Safe mode is off.
Basedir restriction is off.
Global variable registration is off.
File uploading is enabled.
Maximum size of post data (text and files) is 16M.
Script memory limit is 32M.
Maximum execution time is 120 seconds.

Webserver
Name 
Apache
Version 
Apache/1.3.31 (Unix) mod_ssl/2.8.18 OpenSSL/0.9.7d PHP/4.3.7

Modules Webserver modules could not be detected

PHP Accelerator
There is no known PHP accelerator active.

One note, it appears that the script limit noted above (32M) doesn't match what is set server-side (60M). Also note, this is on a FreeBSD box.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Frederik Holljen

Thursday 07 October 2004 7:41:08 am

The revision number must be some sort of svn oddity (I have the same in the distributed alpha package, but not in trunk).
Hide works for me with the alpha if I turn of viewcaching and have template compiling on like this:

override/site.ini.append
[ContentSettings]
ViewCaching=disabled

We'll fix the GUI for the hide functionality very soon. I'll bump this thread then so you can test with a proper interface.

Paul Forsyth

Thursday 07 October 2004 2:06:12 pm

The svn version is dependant on the version of the file lib/version.php. See this old thread:

http://ez.no/community/forum/suggestions/libversionphp_needs_to_include_svn_version.

Unless this file is changed on every commit it will rarely be on par with the current svn version. What you need to do is get svn to do set another variable/file/whatever on commit and read this instead...

paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 05:35:45
Script start
Timing: Jan 31 2025 05:35:45
Module start 'layout'
Timing: Jan 31 2025 05:35:45
Module start 'content'
Timing: Jan 31 2025 05:35:45
Module end 'content'
Timing: Jan 31 2025 05:35:45
Script end

Main resources:

Total runtime0.0112 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1328151.2109
Module start 'layout' 0.00420.0020 739.343836.6641
Module start 'content' 0.00620.0036 776.007898.2813
Module end 'content' 0.00980.0014 874.289137.9922
Script end 0.0111  912.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002219.8032140.0002
Check MTime0.00119.7959140.0001
Mysql Total
Database connection0.00075.927910.0007
Mysqli_queries0.001816.396330.0006
Looping result0.00000.089710.0000
Template Total0.00119.410.0011
Template load0.00087.422210.0008
Template processing0.00021.951110.0002
Override
Cache load0.00065.084710.0006
General
dbfile0.00043.330180.0000
String conversion0.00000.061940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs