Re[2]: [Zope3-dev] widget bug?!?

2006-01-04 Thread Adam Groszer
Hello Stephan,

Seems like you smashed it, now a ComponentLookupError exception is
coming which seems adequate.

Tuesday, January 3, 2006, 8:00:49 PM, you wrote:

> On Thursday 15 December 2005 08:17, Adam Groszer wrote:
>> If I make a schema which has no registered widget, then no exception,
>> no error message is coming just a plain empty response.

> Is this still happening. I just recently fixed a bug like that?

> Regards,
> Stephan


-- 
Best regards,
 Adammailto:[EMAIL PROTECTED]
--
Quote of the day:
Everyone is an explorer. How could you possibly live your life looking at a 
door and not open it? 
- Robert D. Ballard 

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] widget bug?!?

2006-01-03 Thread Stephan Richter
On Thursday 15 December 2005 08:17, Adam Groszer wrote:
> If I make a schema which has no registered widget, then no exception,
> no error message is coming just a plain empty response.

Is this still happening. I just recently fixed a bug like that?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] widget bug?!?

2005-12-15 Thread Adam Groszer
If I make a schema which has no registered widget, then no exception,
no error message is coming just a plain empty response.

log:
127.0.0.1 - - [15/Dec/2005:14:07:02 +0200] "GET /@@+/action.html?type_name=AddWo
rkpack.html HTTP/1.1" 404 0 "http://localhost:8081/@@contents.html"; "Mozilla/5.0
 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/2005 Firefox/1.5"

ek, here is the TCPwatch transcript:
[00:00.000 - client HTTP transaction #4]
GET /@@+/action.html?type_name=AddWorkpack.html HTTP/1.1
Host: localhost:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) 
Gecko/2005 Firefox/1.5
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.7,hu;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8081/@@contents.html
Authorization: Basic YWRpOnI=

HTTP/1.1 404 Not Found
Content-Length: 0
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Server: Twisted/2.1.0 TwistedWeb/SVN-Trunk
X-Content-Type-Warning: guessed from content
Date: Thu, 15 Dec 2005 13:07:02 GMT
Content-Type: text/plain

[00:15.032 - server closed]

really strange... in the log there is no 404, and why 404? should be
an exception?!?

the working interface looks like this:

class IWorkpack(Interface):
code = TextLine(
title=u"Azonositó",
description=u"Azonositó",
required = True
)

name = TextLine(
title=u"Megnevezés",
description=u"Megnevezés",
required = True
)

as soon as I add the below attribute it breaks
roles = Dict(
title=u'roles to participants assignment',
description=u'roles to participants assignment',
key_type=TextLine(title=u"participant név"),
value_type=Choice(vocabulary="role")
)

-- 
Best regards,
 Adam  mailto:[EMAIL PROTECTED]
--
Quote of the day:
Where the system is concerned, you're not allowed to ask "Why?"

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com