• Vice Squad

  • Help! zope.formlib invariants problem

    from "Derek Richardson" on Feb 04, 2008 10:16 AM
    Hi all!
    
    I'm behind schedule on cutting an alpha 4 and need some help. The last
    bit of functionality that needs to go in is the 'specifying
    permissions for feed formats' discussed on the Vice front page (
    http://www.openplans.org/projects/vice/project-home ). It's mostly
    implemented, but this weekend I stubbed my toe on the fact that, when
    a FeedConfigs is validated by zope.formlib, then @invariant functions
    on each FeedConfig are not checked. See:
    
    http://www.nabble.com/zope.formlib-doesn't-check-invariants-on-subschemas---need-workaround-td15244616.html
    
    If anyone can post a working implementation of the workaround that
    both srichter and me mention in the above thread, it will resolve the
    last major issue before alpha 4. My formlib fu is weak and time is
    short - I'd like to release alpha 4 before or at the summit this
    weekend.
    
    Thanks!
    
    Derek
    
    Thread Outline:
  • Re: Help! zope.formlib invariants problem

    from MatthewWilkes on Feb 10, 2008 01:47 PM
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    
    On Heisei 0020-02-04, at 151555GMT, Derek Richardson wrote:
    
    > If anyone can post a working implementation of the workaround that
    > both srichter and me mention in the above thread, it will resolve the
    > last major issue before alpha 4. My formlib fu is weak and time is
    > short - I'd like to release alpha 4 before or at the summit this
    > weekend.
    
    Hi Derek,
    
    I've had a look at this, it now seems to work with my local tests but  
    your work isn't committed so I can't test against that.  Can you svn  
    up and see if that's what you meant?
    
    Matt
    
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (Darwin)
    
    iD8DBQFHr0aQZnKd+ctxHMoRAso2AJ470YSKL7B+csBkdeplRiR038SdJgCeLbNX
    N9Edj89R3Mj4FDGX88WmMBY=
    =SHHy
    -----END PGP SIGNATURE-----