*** PyNick has quit IRC | 00:02 | |
*** philiKON has joined #zope3-dev | 00:08 | |
*** batlogg has quit IRC | 00:11 | |
*** batlogg has joined #zope3-dev | 00:13 | |
*** gumpa has left #zope3-dev | 00:24 | |
*** philiKON has quit IRC | 00:36 | |
*** philiKON has joined #zope3-dev | 00:37 | |
*** J1m has quit IRC | 00:53 | |
*** hazmat has quit IRC | 00:54 | |
*** benji has quit IRC | 00:55 | |
*** senra has quit IRC | 00:59 | |
*** niemeyer has quit IRC | 01:05 | |
*** jhauser has quit IRC | 01:06 | |
*** hazmat has joined #zope3-dev | 01:07 | |
*** mgedmin has quit IRC | 01:16 | |
*** mgedmin has joined #zope3-dev | 01:23 | |
*** vlado_ has quit IRC | 01:25 | |
*** nathany has joined #zope3-dev | 01:25 | |
rocky | hm... does anyone know about <browser:addform> and <browser:editform> being changed to use formlib ? | 01:29 |
---|---|---|
*** yota has quit IRC | 01:37 | |
*** ignas has quit IRC | 01:47 | |
*** SteveA has quit IRC | 02:01 | |
*** batlogg has quit IRC | 02:12 | |
*** srichter has joined #zope3-dev | 02:16 | |
*** nathany has quit IRC | 02:21 | |
*** ChanServ sets mode: +o srichter | 02:30 | |
*** nathany has joined #zope3-dev | 02:57 | |
*** mgedmin has quit IRC | 03:01 | |
philiKON | rocky, no, not really | 03:13 |
rocky | philiKON: personally i think its dumb in order to create a form (edit form for example) with formlib that uses everything default that you have to touch zcml and py code | 03:30 |
philiKON | rocky, i think it's ok | 03:41 |
philiKON | with browser:*form, zcml did too much | 03:41 |
rocky | "useful defaults" are good | 03:41 |
philiKON | zcml isn't about sensible defaults | 03:41 |
philiKON | zcml is just a registration language | 03:41 |
philiKON | automation (=sensible defaults, if you want) happens in python | 03:42 |
philiKON | so, if sensible defaults should happen, they should happen in some base class | 03:42 |
philiKON | but not in zcml | 03:42 |
*** alecm has quit IRC | 03:50 | |
*** alecm has joined #zope3-dev | 03:52 | |
*** whit has quit IRC | 03:59 | |
*** alga has joined #zope3-dev | 04:01 | |
*** whit has joined #zope3-dev | 04:05 | |
*** pcardune has joined #zope3-dev | 04:05 | |
*** rocky has quit IRC | 04:15 | |
*** oferw has joined #zope3-dev | 04:26 | |
*** hazmat has quit IRC | 04:43 | |
*** oferw has quit IRC | 05:43 | |
*** alga has quit IRC | 06:18 | |
*** stub has joined #zope3-dev | 06:22 | |
*** reco has quit IRC | 06:53 | |
*** MacYET_ has joined #zope3-dev | 07:02 | |
*** MacYET_ has left #zope3-dev | 07:03 | |
*** alga has joined #zope3-dev | 07:18 | |
*** srichter has quit IRC | 07:52 | |
*** strichter has joined #zope3-dev | 07:52 | |
*** eins has joined #zope3-dev | 08:05 | |
eins | hi | 08:05 |
*** pcardune has quit IRC | 08:16 | |
*** dobee has joined #zope3-dev | 08:19 | |
*** alga has quit IRC | 08:26 | |
*** dokai has quit IRC | 08:36 | |
*** russf has quit IRC | 08:36 | |
*** Aiste has quit IRC | 08:36 | |
*** graham has quit IRC | 08:36 | |
*** whit has quit IRC | 08:36 | |
*** dunny has quit IRC | 08:36 | |
*** flox|away has quit IRC | 08:36 | |
*** zbir has quit IRC | 08:36 | |
*** philiKON has quit IRC | 08:36 | |
*** BjornT has quit IRC | 08:36 | |
*** nouri has quit IRC | 08:36 | |
*** wrobel has quit IRC | 08:36 | |
*** whit has joined #zope3-dev | 08:37 | |
*** philiKON has joined #zope3-dev | 08:37 | |
*** dunny has joined #zope3-dev | 08:37 | |
*** flox|away has joined #zope3-dev | 08:37 | |
*** zbir has joined #zope3-dev | 08:37 | |
*** dokai has joined #zope3-dev | 08:37 | |
*** russf has joined #zope3-dev | 08:37 | |
*** Aiste has joined #zope3-dev | 08:37 | |
*** graham has joined #zope3-dev | 08:37 | |
*** BjornT has joined #zope3-dev | 08:37 | |
*** wrobel has joined #zope3-dev | 08:37 | |
*** nouri has joined #zope3-dev | 08:37 | |
*** batlogg has joined #zope3-dev | 08:42 | |
*** jhauser has joined #zope3-dev | 08:43 | |
*** flox|away has quit IRC | 08:45 | |
*** jukart has joined #zope3-dev | 09:07 | |
*** hdima has joined #zope3-dev | 09:08 | |
*** SteveA has joined #zope3-dev | 09:32 | |
*** Theuni has joined #zope3-dev | 09:47 | |
*** flox has joined #zope3-dev | 09:48 | |
*** flox is now known as flox|away | 09:48 | |
*** RaFromBRC has joined #zope3-dev | 10:17 | |
*** flox|away is now known as flox | 10:41 | |
*** batlogg has quit IRC | 10:49 | |
*** zagy has joined #zope3-dev | 11:03 | |
*** SteveA has quit IRC | 11:30 | |
eins | how do I access request in vocabulary? | 12:06 |
Theuni | I'm pretty sure I don't understand your question. | 12:09 |
philiKON | eins, you don't | 12:09 |
*** flox has quit IRC | 12:11 | |
*** flox_ has joined #zope3-dev | 12:12 | |
*** flox_ is now known as flox | 12:12 | |
eins | Theuni somebody does;) | 12:14 |
Theuni | looks like it | 12:14 |
eins | philiKON thanks;) got that myself | 12:14 |
*** oferw has joined #zope3-dev | 12:58 | |
*** SteveA has joined #zope3-dev | 13:01 | |
*** J1m has joined #zope3-dev | 13:02 | |
*** mgedmin has joined #zope3-dev | 13:06 | |
*** mexiKON has joined #zope3-dev | 13:07 | |
*** strichter has quit IRC | 13:10 | |
*** philiKON has quit IRC | 13:25 | |
*** jinty has joined #zope3-dev | 13:29 | |
*** nathany has quit IRC | 13:30 | |
*** ignas has joined #zope3-dev | 13:38 | |
*** mexiKON has quit IRC | 13:51 | |
*** strichter has joined #zope3-dev | 13:57 | |
*** dunny has quit IRC | 13:58 | |
*** nathany has joined #zope3-dev | 14:02 | |
*** batlogg has joined #zope3-dev | 14:09 | |
*** volvox has joined #zope3-dev | 14:16 | |
*** jukart has quit IRC | 14:23 | |
*** jukart has joined #zope3-dev | 14:26 | |
*** J1m has quit IRC | 14:31 | |
*** mkerrin has joined #zope3-dev | 14:31 | |
*** vlado has joined #zope3-dev | 14:33 | |
*** nathany has quit IRC | 14:44 | |
*** nathany_ has joined #zope3-dev | 14:44 | |
*** SteveA has quit IRC | 14:47 | |
*** strichter has quit IRC | 14:47 | |
*** nathany_ has quit IRC | 14:50 | |
*** rocky has joined #zope3-dev | 14:52 | |
*** russf_ has joined #zope3-dev | 14:56 | |
*** SteveA has joined #zope3-dev | 14:57 | |
*** zbir has quit IRC | 14:58 | |
*** russf has quit IRC | 15:03 | |
*** dobee has quit IRC | 15:22 | |
*** oferw has quit IRC | 15:25 | |
*** vlado has quit IRC | 15:32 | |
*** SteveA has quit IRC | 15:32 | |
*** alga has joined #zope3-dev | 15:32 | |
*** alga_ has joined #zope3-dev | 15:34 | |
*** romanofski has joined #zope3-dev | 15:43 | |
*** baldtrol has joined #zope3-dev | 15:46 | |
*** jinty has quit IRC | 15:52 | |
*** gumpa has joined #zope3-dev | 15:59 | |
*** benji has joined #zope3-dev | 16:00 | |
*** zbir has joined #zope3-dev | 16:02 | |
*** roym has joined #zope3-dev | 16:03 | |
*** alga_ has quit IRC | 16:07 | |
*** alga has quit IRC | 16:07 | |
roym | I need to rename an item in a container. Based on what I see in IWriteContainer, I'd have to do a copy and then delete the original ref. Is there a better way? | 16:08 |
mgedmin | there's an adapter, IObjectRenamer IIRC | 16:08 |
*** philiKON has joined #zope3-dev | 16:10 | |
flox | roym: from zope.copypastemove.interfaces import IObjectMover | 16:10 |
*** alga has joined #zope3-dev | 16:10 | |
*** alga_ has joined #zope3-dev | 16:10 | |
flox | roym: mover = IObjectMover(object) | 16:10 |
*** alga_ has quit IRC | 16:10 | |
mgedmin | zope.copypastemove.interfaces.IContainerItemRenamer | 16:10 |
mgedmin | is what I had in mind | 16:10 |
roym | flox, mgedmin: thanks. | 16:10 |
flox | roym: mover.moveTo(otherFolder, new_name) | 16:11 |
mgedmin | the ContainerItemRenamer uses IObjectMover internally | 16:11 |
flox | for my use case, i needed to move to other Container. but for his use case, he can use ContainerItemRenamer as well | 16:12 |
Theuni | does anybody know when the next beta will be done? | 16:13 |
Theuni | Are we waiting to get all critical issues resolved first? | 16:13 |
philiKON | wtf, now there are 27 critical issues? | 16:14 |
philiKON | Theuni, actually, i was planning on making another beta soonish | 16:15 |
philiKON | the first beta had packaging bugs | 16:15 |
*** mgedmin changes topic to "logs available at http://zope3.pov.lt/irclogs/ || paste code examples into http://zope3.pastebin.com/ or http://paste.plone.org/ || bugs live at http://www.zope.org/Collectors/Zope3-dev" | 16:15 | |
*** rock1 has joined #zope3-dev | 16:15 | |
philiKON | at least those should be fixed iwth a new beta | 16:15 |
Theuni | right | 16:15 |
*** rocky has quit IRC | 16:15 | |
*** rock1 is now known as rocky | 16:15 | |
Theuni | we (gocept) would like to see another beta to get one of our products moved on to 3.3, but we're kind of waiting for another beta to see the packaging issues gone | 16:16 |
philiKON | i haven't had time because of some exams coming up | 16:16 |
philiKON | (tomorrow) | 16:17 |
philiKON | if you guys need a beta, feel free to do one :) | 16:17 |
Theuni | Ah, I see. Well. I tried doing the packaging a while ago, but something went wrong, so I better not touch that right now. :) | 16:17 |
philiKON | i might ahve some time later this week | 16:18 |
Theuni | actually it's 5 critical bugs | 16:18 |
*** bradb has joined #zope3-dev | 16:18 | |
philiKON | this collector is hard to use | 16:20 |
philiKON | i selected 'critical' and left the status at 'accepted' and 'pending' | 16:20 |
Theuni | you're supposed to select '3.3 release' now :) | 16:21 |
philiKON | ah | 16:21 |
philiKON | then i see 4 bugs | 16:21 |
* mgedmin sees 9 | 16:21 | |
Theuni | you see (almost) double! | 16:21 |
Theuni | it's 5, one is critical and has been reported yesterday | 16:21 |
Theuni | it might slip into 3.3 release soon | 16:21 |
philiKON | ah | 16:21 |
Theuni | it's 670 | 16:22 |
Theuni | i'm still chewing on my security bug | 16:22 |
* Theuni gives it another try | 16:22 | |
mgedmin | well, there are 9 issues with importance "3.3 Release" | 16:22 |
mgedmin | maybe not all of them are bugs | 16:22 |
mgedmin | yep, some are "bug+solution" | 16:22 |
mgedmin | and some are resolved, duh! | 16:23 |
Theuni | aha! | 16:23 |
mgedmin | 4 bugs now | 16:23 |
*** philiKON has quit IRC | 16:23 | |
Theuni | I'm doing: new/pending/accepted, 3.3release/critical, bug/bug+Solution | 16:25 |
*** russf has joined #zope3-dev | 16:26 | |
*** russf_ has quit IRC | 16:31 | |
Theuni | did somebody change something regarding the inclusion of the bugtracker module in the Zope 3 checkout? | 16:32 |
*** J1m has joined #zope3-dev | 16:33 | |
mgedmin | afaiu bugtracker was moved into its own top-level svn project | 16:35 |
Theuni | it seems to still be references from within the zope 3 project though | 16:35 |
mgedmin | I had to rm the bugtracker and zwiki package includes in a couple of checkouts | 16:35 |
ignas | yep, zcml are ignored in package-includes | 16:36 |
ignas | svn:ignored | 16:36 |
mgedmin | I do not think there are any other references | 16:36 |
Theuni | ic | 16:37 |
*** romanofs1i has joined #zope3-dev | 16:45 | |
*** russf_ has joined #zope3-dev | 16:45 | |
*** romanofski has quit IRC | 16:46 | |
*** whit has quit IRC | 16:46 | |
*** russf has quit IRC | 16:52 | |
*** _sussi has joined #zope3-dev | 16:52 | |
*** whit has joined #zope3-dev | 16:57 | |
*** eins has quit IRC | 17:06 | |
*** romanofs1i has quit IRC | 17:16 | |
*** romanofski has joined #zope3-dev | 17:17 | |
*** alga has quit IRC | 17:23 | |
*** hdima has quit IRC | 17:23 | |
*** strichter has joined #zope3-dev | 17:25 | |
*** alga has joined #zope3-dev | 17:25 | |
*** stub has quit IRC | 17:30 | |
*** pcardune has joined #zope3-dev | 17:31 | |
*** batlogg has quit IRC | 17:35 | |
*** pcardune_ has joined #zope3-dev | 17:35 | |
*** gintas has joined #zope3-dev | 17:36 | |
*** russf_ has quit IRC | 17:39 | |
*** russf has joined #zope3-dev | 17:40 | |
*** b_52CEntos has quit IRC | 17:42 | |
*** b_52CEntos has joined #zope3-dev | 17:49 | |
*** pcardune has quit IRC | 17:51 | |
*** zbir has quit IRC | 17:52 | |
*** bradb has quit IRC | 17:53 | |
*** rocky has quit IRC | 18:03 | |
*** rocky has joined #zope3-dev | 18:05 | |
*** bradb has joined #zope3-dev | 18:06 | |
*** _sussi has left #zope3-dev | 18:10 | |
*** bradb has quit IRC | 18:16 | |
roym | Is there a way to get a handle to any "located" object in the zodb from | 18:24 |
roym | within a context method (ie: I don't have a handle to a request). | 18:24 |
baldtrol | roym: how do you mean? | 18:25 |
roym | I need to do a zapi.traverse and navigate to a known location. | 18:26 |
roym | I just need to find any object that's already in the zodb. | 18:26 |
roym | This is for getting data to populate a vocabulary source. | 18:26 |
*** bradb has joined #zope3-dev | 18:27 | |
baldtrol | if you know the containment path for the object you want, then yeah, you can do that. if you know it's relationship to your current context in the containment hierarchy, you can get it that way too... is it a parent/child or in a statically installed place? | 18:27 |
*** RaFromBRC has joined #zope3-dev | 18:28 | |
roym | The issue is that I am querying an ISource (usually from where the context is a choice object that is NOT located anywhere). | 18:28 |
roym | at least not yet. | 18:29 |
baldtrol | ahh, gotcha. | 18:30 |
mgedmin | roym: you could getSite() | 18:30 |
mgedmin | or you could try to look if the choice object is bound to a contained object | 18:30 |
*** bradb has quit IRC | 18:30 | |
mgedmin | (i.e. context.context) | 18:30 |
mgedmin | I would use getSite() | 18:30 |
roym | getSite seems perfect - thanks. | 18:31 |
baldtrol | mgedmin to the rescue! | 18:32 |
*** flox has quit IRC | 18:37 | |
baldtrol | what event is notified before an object is deleted? | 18:43 |
*** jukart has quit IRC | 18:43 | |
baldtrol | well what event is "notified about", i guess. you don't really notify events, you notify subscribers ;) | 18:44 |
mgedmin | afaiu there's only IObjectRemovedEvent which gets sent after an object is deleted | 18:44 |
baldtrol | does event.object still hold the object long enough for me to do something with it? | 18:45 |
baldtrol | or is it gone when it's gone? | 18:45 |
mgedmin | objects are garbage collected | 18:45 |
mgedmin | so yes, event.object will still be it | 18:46 |
baldtrol | well, right... i guess i was asking that transaction.commit() hasn't happened before the event? i'd assume no, but i worry. | 18:46 |
mgedmin | and the event also contains the container from which the object was deleted, I think | 18:46 |
mgedmin | wait a second... | 18:46 |
mgedmin | yes it does | 18:47 |
baldtrol | ah, cool. i've been working on a zc.relationship based relationship/container pair, but since when an object is deleted, i'd like to look for any relationships that refer to that object, and remove it from the index, rather than leaving a stale relationship there. | 18:48 |
*** whit has quit IRC | 18:49 | |
*** zbir has joined #zope3-dev | 18:50 | |
mgedmin | IObjectRemovedEvent is for you then | 18:51 |
*** dobee has joined #zope3-dev | 18:52 | |
baldtrol | thank you sir :) | 18:52 |
roym | mgedmin - I think getSite() only works for a "located" object. | 18:53 |
roym | zapi.traverse(getSite(), QConstants.METADATA) | 18:53 |
roym | *** TypeError: Not enough context to determine location root | 18:53 |
roym | Can I do a queryUtility to find one that is located in the zodb? | 18:54 |
mgedmin | roym: getSite() extracts the site from a thread local | 18:56 |
mgedmin | it is valid only during request processing | 18:56 |
mgedmin | what's QConstants.METADATA? | 18:56 |
*** bradb has joined #zope3-dev | 18:56 | |
roym | QConstants.METADATA is just a path string (eg: '/a/b') | 18:56 |
roym | so does that mean that I can only get a handle to the zodb during request processing? | 18:57 |
roym | My problem is that I have a source widget that needs to do a dynamic query to populate itself. | 18:58 |
roym | I don't know how to make the request available during that lookup. | 18:58 |
baldtrol | roym: i had a similar issue trying to populate a vocabulary from a sql query. the query was based on information in the request, but vocabularies don't accept requests as part of their construction :/ if you figure it out, let me know ;) | 19:00 |
roym | baldtrol: good to know that at least I'm not the only one :) | 19:01 |
*** dobee has quit IRC | 19:02 | |
baldtrol | :) | 19:02 |
roym | baldtrol: I have this notion that I might be able to do lookup in the ITerms adapter - since it gets the context and request. let me try that. | 19:07 |
*** whit has joined #zope3-dev | 19:07 | |
*** jinty has joined #zope3-dev | 19:08 | |
mgedmin | roym: almost everything zope does is inside a request | 19:12 |
mgedmin | you might also get a handle to the zodb if you manage to get hold of the publication | 19:13 |
mgedmin | but the only way I know how to do that is to take request.publication | 19:13 |
mgedmin | there's also a somewhat dirty trick of using the security mechanism's getInteraction() and looping through its participations to see if one of those is an IRequest | 19:14 |
mgedmin | if you specify the vocabulary by name in your schema (foo = Choice(vocabulary='foos')) | 19:14 |
mgedmin | and register a named utility | 19:14 |
mgedmin | then your vocabulary construction function will be invoked during request processing | 19:15 |
mgedmin | and its context argument will be a contained object... I think | 19:15 |
*** romanofski has quit IRC | 19:20 | |
*** zagy has quit IRC | 19:21 | |
*** philiKON has joined #zope3-dev | 19:52 | |
*** flox_ has joined #zope3-dev | 20:01 | |
*** flox_ is now known as flox | 20:01 | |
*** mgedmin has quit IRC | 20:07 | |
*** strichter is now known as srichter | 20:19 | |
*** ChanServ sets mode: +o srichter | 20:19 | |
*** oferw has joined #zope3-dev | 20:20 | |
*** jukart has joined #zope3-dev | 20:31 | |
*** whit has quit IRC | 20:33 | |
*** rock1 has joined #zope3-dev | 20:34 | |
*** rocky has quit IRC | 20:34 | |
*** rock1 is now known as rocky | 20:34 | |
*** rocky is now known as rock1 | 20:34 | |
*** rock1 is now known as rocky | 20:35 | |
*** whit has joined #zope3-dev | 20:35 | |
*** ignas has quit IRC | 20:39 | |
*** RaFromBRC has quit IRC | 20:42 | |
*** RaFromBRC has joined #zope3-dev | 20:42 | |
*** gintas has quit IRC | 20:49 | |
roym | mgedmin: I was away - just saw your comments; helps me understand things better, thankyou. | 20:51 |
*** jukart has quit IRC | 20:53 | |
roym | I don't think that the vocabulary constructor accepts a request. However, you've made me realize that I can just register my data retrieval functionality as a utility. | 20:56 |
*** zbir_ has joined #zope3-dev | 21:06 | |
*** b_52CEntos has quit IRC | 21:14 | |
*** tonico has quit IRC | 21:16 | |
*** oferw has quit IRC | 21:18 | |
*** b_52CEntos has joined #zope3-dev | 21:20 | |
*** zbir has quit IRC | 21:22 | |
*** zbir_ is now known as zbir | 21:33 | |
*** nathany has joined #zope3-dev | 21:37 | |
*** hazmat has joined #zope3-dev | 21:37 | |
*** RaFromBRC is now known as RaFromBRC|away | 21:41 | |
*** batlogg has joined #zope3-dev | 21:46 | |
*** nathany has quit IRC | 21:55 | |
*** vlado has joined #zope3-dev | 21:58 | |
*** jinty has quit IRC | 22:02 | |
*** rock1 has joined #zope3-dev | 22:09 | |
*** rocky has quit IRC | 22:09 | |
*** rock1 is now known as rocky | 22:09 | |
*** Aiste has quit IRC | 22:10 | |
*** batlogg has quit IRC | 22:18 | |
*** gintas has joined #zope3-dev | 22:18 | |
*** batlogg has joined #zope3-dev | 22:21 | |
*** ignas has joined #zope3-dev | 22:25 | |
*** ktwilight has joined #zope3-dev | 22:29 | |
*** Aiste has joined #zope3-dev | 22:31 | |
*** dunny has joined #zope3-dev | 22:38 | |
*** dobee has joined #zope3-dev | 22:42 | |
*** baldtrol has left #zope3-dev | 22:44 | |
*** mkerrin has quit IRC | 23:00 | |
*** gintas_ has joined #zope3-dev | 23:10 | |
*** gintas has quit IRC | 23:13 | |
*** russf has quit IRC | 23:17 | |
*** russf has joined #zope3-dev | 23:18 | |
*** vlado has quit IRC | 23:20 | |
*** vlado_ has joined #zope3-dev | 23:20 | |
*** dobee has quit IRC | 23:22 | |
*** reco has joined #zope3-dev | 23:37 | |
*** tonico has joined #zope3-dev | 23:40 | |
*** pcardune_ has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!