Friday 24 September 2010 6:36:09 pm
Hi,
I am testing eZ Teamroom + WebDAV access. I am able to upload files but when I try to download a file, I get an "500 Internal Server Error" and the following error message in Apache log file:
[Fri Sep 24 17:59:55 2010] [error] [client x.x.x.x] PHP Fatal error: Call to a member function attribute() on a non-object in /homelocal/ezpublish/www/kernel/private/classes/webdav/ezwebdavcontentbackend.php on line 1449
My setup:
- eZ Publish 4.3.0 (plain_site package using eng-GB langage)
- eZ Teamroom 1.1-0 (I get the same error with latest SVN code: 1.1 branch).
- PHP 5.2.10
- Webdav client : konqueror or cadaver
- default WebDAV configuration (I have just set "EnableWebDAV=true" in ini file)
Thanks in advance,
Mathieu
Tuesday 05 October 2010 12:06:12 pm
Hi,
I'm experiencing some trouble in list pages. some of them are not updated when I create/update/delete objects.
For example, blog list doesn't been updated when I add a new one. In the other hand, it works properly in task list (when I create one task, the list is updated).
Does anyone know something about this issue ?
Friday 08 October 2010 11:06:12 am
Is there any way to see the waiting user registration to a teamroom in ezteamroom site access ? or teamroom owners have to go in collaboration dashboard in back end to validate them ?
For exemple, when an user ask to be a member in a teamroom. I only see it in the collaboration view in back end, so I need to change to admin siteaccess to validate it.
Wednesday 01 December 2010 3:36:26 pm
Hi,
I cannot manage the attendees of an event in the calendar. When I am trying to edit an event, I get by default the following javascripr error:
"ezevent_initWithMode is not defined"
Uncomment the following line in extension/ezevent/settings/design.ini.append.php:
JavaScriptList[]=ezevent.js
helps but does not solve the problem. Is anyone using this feature? I have using ez publish 4.4.0 + ezteamroom 1.2.
Thanks,
Mathieu
Wednesday 01 December 2010 6:06:21 pm
Hi,
If I set:
PathPrefix=
instead of:
PathPrefix=Teamrooms
in settings/siteaccess/ezteamroom/site.ini.append.php, I can download the files using webdav. It seems that this parameter is not properly handled in:
kernel/private/classes/webdav/ezwebdavcontentbackend.php?
Mathieu
Thursday 02 December 2010 10:06:21 am
Hi,
I have modified the following file:
extension/ezteamroom/design/ezteamroom/override/templates/fileline/file.tpl
in order to add a "version" parameter to the download links. Now I can download all the versions of a file.
Warning: the user has to have the permission on the "versionread" of the "content" module.
Mathieu
--- file.tpl 2010-12-02 09:26:52.000000000 +0100
+++ file.tpl.new 2010-12-02 09:21:52.000000000 +0100
@@ -122,7 +122,7 @@
<td class="{$style}">{$version.status|choose("Draft"|i18n("ezteamroom/files"
,"Published"|i18n("ezteamroom/files"
,"Pending"|i18n("ezteamroom/files"
,"Archived"|i18n("ezteamroom/files"
,"Rejected"|i18n("ezteamroom/files"
)}</td>
<td class="{$style}"><a target="_blank" href={concat("/content/view/full/",$version.creator.main_node_id,"/"
|ezurl}>{$version.creator.name|wash}</a></td>
<td class="{$style}"><span class="small">{$version.modified|l10n(shortdate)}</span></td>
- <td class="{$style}"><a href={concat("content/download/",$version.data_map.file.contentobject_id,"/",$version.data_map.file.id,"/file/",$version.data_map.file.content.original_filename|rawurlencode() )|ezurl}> {"Get version"|i18n("ezteamroom/files"
}</a></td>
+ <td class="{$style}"><a href={concat("content/download/",$version.data_map.file.contentobject_id,"/",$version.data_map.file.id,"/version/", $version.version, "/file/",$version.data_map.file.content.original_filename|rawurlencode() )|ezurl}> {"Get version"|i18n("ezteamroom/files"
}</a></td>
</tr>
{/foreach}
</table>
Friday 03 December 2010 9:36:23 am
Hi,
The problem seems to be caused by the use of the "$()" function in:
extension/ezevent/design/standard/javascript/ezevent.js
The following patch seems to solve it (also I have added code to prevent a user to be added twice) at least with my setup.
Mathieu
<code>
--- ./extension/ezevent/design/standard/javascript/ezevent.js 2010-12-03 09:04:47.000000000 +0100
+++ ./extension/ezevent/design/standard/javascript/ezevent.js.new 2010-12-02 18:10:52.000000000 +0100
@@ -91,7 +91,8 @@
function ezevent_showHideBlock( blockID, show )
{
- var block = $( 'ezeventattribute_' + blockID );
+ //var block = $( 'ezeventattribute_' + blockID );
+ var block = document.getElementById('ezeventattribute_' + blockID);
if ( block )
{
block.style.display = ( show ) ? "block" : "none";
@@ -138,7 +139,8 @@
gLinkinProgress = true;
if ( gLinkTarget != '' )
{
- lTarget = $( gLinkTarget );
+ //lTarget = $( gLinkTarget );
+ lTarget = document.getElementById(gLinkTarget);
gLinkTarget = '';
}
else
@@ -193,7 +195,15 @@
function ezevent_addUserListEntry( id, uname )
{
- var userList = $( 'list_of_users' );
+ var user = document.getElementById('list_of_users_entry_' + id);
+ if ( user )
+ {
+ // user has been already added
+ return false;
+ }
+
+ //var userList = $( 'list_of_users' );
+ var userList = document.getElementById('list_of_users');
if ( !userList )
{
@@ -218,7 +228,8 @@
function ezevent_removeUserListEntry( id )
{
- var item = $( id );
+ //var item = $( id );
+ var item = document.getElementById(id);
if ( item )
{
</code>
Monday 23 August 2010 5:11:26 pm
Hi Mathieu,
it's seems there's an issue in ezteamroom with ezoe and ezwebin. See http://issues.ez.no/16781
Cheers,
Tuesday 07 September 2010 12:06:00 pm
My problem is that when i upload different version of a file (with the same filename) it is only possible to download the latest which is tagged 'published' although it shows the versions correctly. Within the database there are entries in ezbinaryfile for the files and in the filesystem i can find all the versions.
When i look for the files from the admin interface i see the versions and it correctly displays the sizes of the files, but when i open them they always show the latest (published) version.
Perhaps it is just a setting but i an not getting it and since this is the essential part of a versioning system i would like to get this working.
Version of teamroom is 1.1 and ezpublish is 4.3.
Thanks in advance!