Re:[Zope] ZFormulator

2000-10-26 Thread administrator

Hi,
we have had a similar problem with ODBC adapter under
Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we
didn't have that problem again.
  Arno
  [EMAIL PROTECTED]


 Hi Martijn, and Zope Fans,

 I'm using ZFormulator and having problems with permissions
 on Zope v.2. The sign-on dialog pops-up when a user
 attempts to edit a form, but the correct name and password
 are rejected. Has anyone found a little detail that needs
 tweking to get past this one?





[Zope] Re: Re:[Zope] ZFormulator

2000-10-26 Thread Andy McKay

There was a problem with the ODBC adapter under 2.2.0 where the permissions
werent applied properly. There was a patch that was then incorporated into
later releases 2.2.1 onwards.

- Old Message 

In case anyone else didnt read my thread there is an apparently known but
not seemingly well documented problem with ODBC in Zope 2.2. The solution is
here:

!--StartFragment--Index: RDB.py
===
RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v
retrieving revision 1.24.32.1
retrieving revision 1.24.32.2
diff -c -r1.24.32.1 -r1.24.32.2
*** RDB.py 2000/07/12 17:38:03 1.24.32.1
--- RDB.py 2000/07/17 15:03:55 1.24.32.2
***
*** 85,92 
  __doc__='''Class for reading RDB files


! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $'''
! __version__='$Revision: 1.24.32.1 $'[11:-2]

  import regex, regsub
  from string import split, strip, lower, upper, atof, atoi, atol, find,
join
--- 85,92 
  __doc__='''Class for reading RDB files


! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $'''
! __version__='$Revision: 1.24.32.2 $'[11:-2]

  import regex, regsub
  from string import split, strip, lower, upper, atof, atoi, atol, find,
join
***
*** 123,128 
--- 123,132 
  """Class for reading RDB files
  """
  _index=None
+
+ # We need to allow access to not-explicitly-protected
+ # individual record objects contained in the result.
+ __allow_access_to_unprotected_subobjects__=1

  def __init__(self,file,brains=NoBrains, parent=None, zbrains=None):


--
 Andy McKay, Developer, ActiveState
 http://www.ActiveState.com
 Programming for the People



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 11:50 PM
Subject: Re:[Zope] ZFormulator


Hi,
we have had a similar problem with ODBC adapter under
Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we
didn't have that problem again.
  Arno
  [EMAIL PROTECTED]


 Hi Martijn, and Zope Fans,

 I'm using ZFormulator and having problems with permissions
 on Zope v.2. The sign-on dialog pops-up when a user
 attempts to edit a form, but the correct name and password
 are rejected. Has anyone found a little detail that needs
 tweking to get past this one?





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZFormulator

2000-10-25 Thread Spicklemire, Jerry

Hi Martijn, and Zope Fans,

I'm using ZFormulator and having problems with permissions 
on Zope v.2. The sign-on dialog pops-up when a user 
attempts to edit a form, but the correct name and password 
are rejected. Has anyone found a little detail that needs 
tweking to get past this one?

Thanks,
Jerry S.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZFormulator -- how to make an SQL insert?

2000-09-26 Thread Mike Renfro

I looked in the archives for anything concerning this, and came up
empty. I have zformulator set up with postgres, and it appears to work
fine, except that I've not found the zen to make it actually do an SQL
insert -- I know the GetSQL method will extract the proper code, but
am I missing something trivial that'll let me actually execute the SQL
code? Thanks.

-- 
Mike Renfro  / RD Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )