*** GaryPoster has quit IRC | 00:00 | |
*** bskahan has joined #zope3-dev | 00:05 | |
*** tvon has quit IRC | 00:11 | |
* mgedmin can't fathom ++etc++site | 00:18 | |
srichter | alga: you have to make adpaters that use annotations trusted | 00:18 |
---|---|---|
srichter | alga: then the context and thus the annotations are unproxied | 00:18 |
mgedmin | srichter, there are no adapters, just an <editform> | 00:18 |
alga | hm | 00:19 |
srichter | but you have a subscriber, right? | 00:19 |
mgedmin | there is a default subscriber somewhere, afaiu | 00:19 |
mgedmin | I'll let alga talk, I think | 00:19 |
srichter | (you can actually look at the DC subscribers how they do it) | 00:19 |
alga | it is in zope.app.dublincore | 00:19 |
alga | exactly | 00:19 |
srichter | you see how the ZDCAnnotatableAdapter is trusted? | 00:20 |
srichter | so its context will be unproxied | 00:20 |
alga | permission="zope.app.dublincore.change" | 00:21 |
srichter | but you have to make security assertions on the adapter then | 00:21 |
alga | that's the bug | 00:21 |
srichter | right | 00:21 |
srichter | mmh, this would be a good question for Jim | 00:21 |
alga | what about unwrapping though? | 00:22 |
alga | seems like the right thing to do to me | 00:22 |
srichter | it would be considered a hack | 00:22 |
*** jdz_ has joined #zope3-dev | 00:23 | |
srichter | but Jim is more knowledgable and unwrapping let''s you procede | 00:23 |
srichter | :-) | 00:23 |
alga | thanks | 00:23 |
alga | should I chase up Jim then? | 00:23 |
srichter | yeah | 00:24 |
srichter | point him to the bug report | 00:24 |
alga | thanks | 00:25 |
* mgedmin understands that ++etc++site gave him 404 errors because getattr(..., None) hid the ForbiddenAttribute error for getSiteManager | 00:25 | |
*** mgedmin has quit IRC | 00:30 | |
*** tvon has joined #zope3-dev | 00:53 | |
*** srichter has quit IRC | 00:57 | |
*** d2m has joined #zope3-dev | 01:07 | |
*** benji_york has quit IRC | 01:23 | |
*** SteveA has quit IRC | 01:24 | |
*** srichter has joined #zope3-dev | 01:26 | |
*** projekt01 has joined #zope3-dev | 01:28 | |
*** srichter has quit IRC | 01:29 | |
*** srichter has joined #zope3-dev | 01:29 | |
*** ChanServ sets mode: +o srichter | 01:29 | |
*** Aiste has quit IRC | 01:32 | |
*** Aiste has joined #zope3-dev | 01:36 | |
*** SteveA has joined #zope3-dev | 01:36 | |
*** WebMaven_ has quit IRC | 02:38 | |
*** d2m has quit IRC | 02:50 | |
*** alga has quit IRC | 04:01 | |
*** sashav has quit IRC | 04:15 | |
*** projekt01 has quit IRC | 05:12 | |
*** jdz has joined #zope3-dev | 05:13 | |
*** tvon has quit IRC | 05:38 | |
*** tvon has joined #zope3-dev | 05:54 | |
*** Damascus- has joined #zope3-dev | 06:36 | |
Damascus- | test | 06:36 |
*** Damascus- has quit IRC | 07:19 | |
tvon | It's not working | 08:10 |
*** jdz has quit IRC | 08:39 | |
*** sashav has joined #zope3-dev | 10:12 | |
*** hazmat has joined #zope3-dev | 11:46 | |
*** deo has quit IRC | 11:50 | |
*** projekt01 has joined #zope3-dev | 13:37 | |
*** bskahan has quit IRC | 13:46 | |
*** sashav has quit IRC | 13:56 | |
*** hazmat has quit IRC | 13:56 | |
*** Aiste has quit IRC | 14:33 | |
*** hazmat has joined #zope3-dev | 14:34 | |
*** sashav has joined #zope3-dev | 14:35 | |
*** mooded has joined #zope3-dev | 14:40 | |
*** Aiste has joined #zope3-dev | 14:47 | |
*** zagy has joined #zope3-dev | 15:16 | |
*** GaryPoster has joined #zope3-dev | 15:21 | |
*** admp has joined #zope3-dev | 15:26 | |
*** mooded has quit IRC | 15:43 | |
*** hazmat has quit IRC | 15:52 | |
*** Aiste has quit IRC | 15:55 | |
*** hazmat has joined #zope3-dev | 16:01 | |
*** Aiste has joined #zope3-dev | 16:12 | |
*** GaryPoster has quit IRC | 16:47 | |
*** hazmat has quit IRC | 16:49 | |
*** mgedmin has joined #zope3-dev | 17:02 | |
*** gintas has joined #zope3-dev | 17:15 | |
*** admp has quit IRC | 17:49 | |
*** zug has joined #zope3-dev | 18:05 | |
*** rejj has quit IRC | 18:05 | |
mgedmin | I just realized why 'foo\n...\nbar' in my doctest does not match 'foo\n\nbar' in the output | 18:09 |
mgedmin | it's the interaction between ELLIPSIS_MATCH and NORMALIZE_WHITESPACE | 18:09 |
mgedmin | NORMALIZE_WHITESPACE converts the real output to 'foo bar' and my expectation to 'foo ... bar' | 18:09 |
mgedmin | _ellipsis_match() then returns False | 18:10 |
*** __gotcha has joined #zope3-dev | 18:10 | |
srichter | ahh, I see | 18:15 |
srichter | good detective work | 18:15 |
*** sashav has quit IRC | 18:39 | |
*** sashav has joined #zope3-dev | 18:43 | |
*** niemeyer has joined #zope3-dev | 19:03 | |
*** sashav has quit IRC | 19:15 | |
*** sashav has joined #zope3-dev | 19:22 | |
*** GaryPoster has joined #zope3-dev | 19:23 | |
*** Jim7J1AJ1 has joined #zope3-dev | 19:44 | |
*** Jim7J1AJH has quit IRC | 19:44 | |
*** __gotcha_ has joined #zope3-dev | 20:05 | |
*** __gotcha has quit IRC | 20:09 | |
*** hazmat has joined #zope3-dev | 20:12 | |
*** tvon has quit IRC | 20:19 | |
*** GaryPoster has quit IRC | 20:59 | |
*** _projekt01 has joined #zope3-dev | 21:03 | |
*** projekt01 has quit IRC | 21:03 | |
*** bskahan has joined #zope3-dev | 21:14 | |
*** hazmat has quit IRC | 21:30 | |
*** bskahan has quit IRC | 22:05 | |
*** bskahan has joined #zope3-dev | 22:21 | |
*** srichter has quit IRC | 22:37 | |
*** srichter has joined #zope3-dev | 22:37 | |
*** ChanServ sets mode: +o srichter | 22:37 | |
mgedmin | is raising Redirect a good idea? | 23:05 |
mgedmin | ok, it is *not* a good idea | 23:06 |
mgedmin | tal:on-error catches it | 23:06 |
mgedmin | and the publisher shows the standard "An error occured" page | 23:07 |
mgedmin | instead of redirecting | 23:07 |
mgedmin | 23:08 | |
mgedmin | must I live with a bunch of spurious "error: (32, 'Broken pipe')" tracebacks cluttering my error log? | 23:08 |
mgedmin | though I suppose I can hide them if I play with my logging configuration... | 23:09 |
*** tvon has joined #zope3-dev | 23:21 | |
SteveA | the publisher shouldn't really worry about broken pipes | 23:24 |
mgedmin | I'd be happier if it didn't | 23:29 |
mgedmin | here's how a typical traceback looks: http://paste.plone.org/845 | 23:30 |
mgedmin | ah, zope 3 ignores those errors by default | 23:36 |
mgedmin | my app sets up a root logger and sees it | 23:36 |
mgedmin | what does the <eventlog> directive set up? | 23:37 |
mgedmin | which logger? | 23:38 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!