[Zope-CMF] Value error : portal_discussion on metadata_edit

Pascal Samuzeau samuzeau@oreka.com
Tue, 07 Jan 2003 15:53:41 +0100


Hi,                                                                   
                                                                      
I can't save my metadata. First I was thinking about some rights as   
Modify Portal Content, but it seems not to be that                    
                                                                      
Any idea?                                                             
                                                                      
Type error : AttributeError                                           
Value error : portal_discussion                                       
                                                                      
<!--                                                                  
Traceback (innermost last):                                           
  File Publish.py, line 150, in publish_module                        
  File ZPublisher\Publish.py, line 114, in publish                    
  File __init__.py, line 159, in zpublisher_exception_hook            
    (Object: 3m0jsz9b)                                                
  File ZPublisher\Publish.py, line 98, in publish                     
  File ZPublisher\mapply.py, line 88, in mapply                       
    (Object: metadata_edit)                                           
  File ZPublisher\Publish.py, line 39, in call_object                 
    (Object: metadata_edit)                                           
  File CMFCore\FSPythonScript.py, line 90, in __call__                
    (Object: metadata_edit)                                           
  File Shared\DC\Scripts\Bindings.py, line 252, in __call__           
    (Object: metadata_edit)                                           
  File Shared\DC\Scripts\Bindings.py, line 283, in _bindAndExec       
    (Object: metadata_edit)                                           
  File CMFCore\FSPythonScript.py, line 124, in _exec                  
    (Object: metadata_edit)                                           
    (Info: ({'script': &lt;FSPythonScript instance at 02047590&gt;,   
'context': &lt;Document instance at 021600F0&gt;, 'container':        
&lt;CMFSite instance at 01F4C3E8&gt;, 'traverse_subpath': []}, (None, 
text, ['text'], 'text', ['text', '', ''], '', '', 'text/plain', 'En', 
None), {}, (None, None, None, None, None, None, None, None, None,     
None)))                                                               
  File Script (Python), line 40, in metadata_edit                     
  File AccessControl\ZopeGuards.py, line 47, in guarded_getattr       
    (Object: Test)                                                    
AttributeError: (see above)                                           
                                                                      
Cheers                                                                
PS                                                                    
--------------------------------------------------                    
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com