phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #4191] saving etemplate gives error + othe


From: nobody
Subject: [Phpgroupware-tracker] [bug #4191] saving etemplate gives error + other buttons not working correctly
Date: Thu, 03 Jul 2003 22:42:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

=================== BUG #4191: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4191&group_id=509

Submitted by: weaky                   Project: phpGroupWare                 
Submitted on: Fri 07/04/2003 at 02:42
Category:  eTemplates                 Bug Group:  devel cvs                 
Severity:  5 - Major                  Priority:  High                       
Resolution:  None                     Assigned to:  None                    
Status:  Open                         Component Version:  None              
Platform Version:  Linux - RedHat     Reproducibility:  Every Time          

Summary:  saving etemplate gives error  + other buttons not working correctly

Original Submission:  Following through eTemplates tutorial 
(http://www.phpgroupware.org/cvsdemo/etemplate/doc/etemplate.html) and hit a 
blocker at step 4 (steps 1 -> 3 worked fine).

REPRODUCTION:
(after following steps 1->3)
Specify template name: et_media.edit
Create the first row - specifying a Name label, and a name text widget (with 
some help etc) (refer attachment screenshot).
Click the save button I get the following error:

Database error: Invalid SQL: DELETE FROM phpgw_etemplate WHERE 
et_name='et_media.edit' AND et_template='' AND et_lang='' AND et_group='' AND 
et_version=''
PostgreSQL Error: 1 (ERROR: pg_atoi: zero-length string )

File: /www/phpgroupware/etemplate/inc/class.soetemplate.inc.php
Line: 586

Session halted.


I think a related bug is if, instead of clicking 'save', I click 'show' (this 
works fine) and then click 'read', 'show values' or 'delete', I get an error 
next to the title saying:

Editable Templates - Show Template Error: Template not found !!!

Also if instead of clicking 'show values' I click 'edit', it redirects back to 
the template editor, only all the field data is gone.



No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Fri 07/04/2003 at 02:42  Name: eTemplates.png  Size: 32KB   By: weaky

http://savannah.gnu.org/bugs/download.php?group_id=509&bug_id=4191&bug_file_id=511


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4191&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]