Dmitry S. Makovey wrote:
I've got workflow which runs script upon transition. At some point In
that script I'm trying to get info on what state I'm in via:
st=getattr(state_change,'new_state')
and it appears to be working only with 'Manager' role which mean that
I have to give that script
Hi,
looks like I don't see the forrest for the trees.
What I want to do:
I have a custom product (CMFBibliography) to handle references
to publications.
Now I want to support FTP/DAV upload of Bibtex files, which may
contain an arbitrary number of references, in the following way:
1. If the
David Pratt wrote:
Hi Raphael. Perhaps a workflow could be a solution.
[..]
Hope this helps.
Regards
David
Hi David,
that's indeed an interesting idea! Need to think about it more.
After some more meditation over the code I got most of
what I want now. Since it might be interesting
Hi,
just came across this one:
If you change your 'Members' folder to be a BTree folder
CMFDefault's 'getHomeFolder' throws a 'KeyError' if looking
for a non-existing id (e.g., if your account is defined in
Zope root).
Per default, 'Members' is a regular PortalFolder instance
which gives an
yuppie wrote:
Hi Raphael!
Hi Yuppie!
[..]
Per default, 'Members' is a regular PortalFolder instance
which gives an 'AttributeError' on such look-ups which
is caught in the method but the 'KeyError' isn't.
Thanks for reporting this. Should now be fixed in cvs.
Great!
PS: You might
Alec Mitchell wrote:
[nice analysis cut]
The above steps are the expected behavior, and appear to work perfectly. The
strange part follows:
5) 'portlet_login' gets the url for the action using [a['url'] for a in
actions['user'] if a['id']=='join'].
Shouldn't this be something like:
yuppie wrote:
Hi!
Hi Yuppie,
+1 from me all the way!
Just one minor question out of curiosity:
i18nextract.py is quite zope3 specific, but with some modifications it
seems to work quite well for CMF. I'd like to add a modified
i18nextract.py to the root of the CMF repository.
How about
Jens Vagelpohl wrote:
[..]
- External methods gain support by extending the saved information to
collect module/function values for external methods instead of trying
to read the body. This *will* make an import blow up if the filesystem
code the external method relies on is not in the
Rob Miller wrote:
[..]
you're more than welcome to either pitch this to plone-devel or to grab
it by the horns and start working on it yourself. :-).
Hi Rob and all other CMF developers,
I know I'm getting myself in danger now as I know too little
yet about Zope 3 and I have no practical
Chris Withers wrote:
Alec Mitchell wrote:
to start using it immediately or risk strange breakages. Maintaining
product compatibility between versions of CMF/Plone will become nearly
impossible.
I'm sorry, I really couldn't resist this...
neither can I ...
And that differs from other
Chris Withers wrote:
Hi Alec,
Alec Mitchell wrote:
So, Sidnei has been plugging away at the AT reindexes things an
obscene number of times issue today, and appears to have fixed many
of the AT triggered indexing redundancies.
Where is this work being done? I'd be very interested to track
Rob Miller wrote:
howdy,
in trying to get Plone working against the 1.6 branch i've come across
some problems w/ the way that CMFDefault.File.File is working since the
base classes have been reordered.
the biggest problem has to do w/ the default view lookup. when
OFS.Image.File was the
Ignacio Valdes wrote:
Hello all,
It has been years since I've last developed in CMF 1.0 for Linux Medical
News http://www.linuxmednews.com project database. I'm back, this time
working on a new web application for a research project on clinical
outcomes using Plone 2.1.1
I would like to
Ignacio Valdes wrote:
Could anyone in Houston get together briefly to show how to get basic
debugging tools working on my localhost/laptop setup? Please e-mail if
available. Thanks!
In case you haven't seen this
http://docs.neuroinf.de/programming-plone/debug
you might want to take a
Tres Seaver wrote:
[..]
Objects which have a no-longer-sane review_state have *never* had
reasonable behavior: the workflow engine *can't* compute what to do
with them. They have no transitions (which is why the workflow actions
are gone), and they can't be fixed by the Update Security
Ignacio Valdes wrote:
Is there a fix for:
When installing CMFPhoto and Album from Add/Remove Products, it says
the product is broken with the following Install log transcript:
Your Plone is too new ;-)
Plone doesn't have nor use the navigation_properties
since 2.0 (about two years ago)
Ignacio Valdes wrote:
I've found the partial answer through the 'Settings...' on the drop down
only it doesn't seem to want to save my restrictions.
This 'Settings ...' option is actually purely Plone/ATCT specific.
You might have better chances to get an answer to your question
on the
Florent Guillaume wrote:
Why is the membership tool folderish?
What's potentially stored in it?
No idea; I always considered this a hack to make it
appear in the ZMI navigation panel to the left.
Raphael
Florent
___
Zope-CMF maillist -
whit wrote:
I remember some discussion of this in the past.
Transitionally, it would be helpful to be able to register local
utilities to a tool name, and then have getToolByName spit out a
deprecation warning and return an appropriate object.
Why a deprecation warning and not just do it?
Philipp von Weitershausen wrote:
[..]
except perhaps if he wants to get started right now, with Plone 2.1
(though that might still run under Zope 2.9 and CMF 1.6, I hope).
Well, I was tinkering a little bit with Plone 2.1 on Zope 2.9
(or the Plone-2.1 bundle to be precise) not too long ago and
Raphael Ritz wrote:
Philipp von Weitershausen wrote:
[..]
except perhaps if he wants to get started right now, with Plone 2.1
(though that might still run under Zope 2.9 and CMF 1.6, I hope).
Well, I was tinkering a little bit with Plone 2.1 on Zope 2.9
(or the Plone-2.1 bundle
Rocky Burt wrote:
Hi all,
Hi Rocky,
I was wondering if CMF does or is planning on implementing support for
add forms for content. If so, would someone mind explaining how it
works? If not, why not? :)
not that Yuppie mentioned this explicitly but my feeling is that
his recent proposal
Tres Seaver schrieb:
[..]
The question is: how would you do that from an extension profile
without replicating the entire 'File' fti for just this little change?
Then you aren't making an extension: it is really a base profile in
disguise, as you want to control types outside your profile's
Tres Seaver schrieb:
[..]
Aren't RFC822-compliant e-mails 7-bit only in the headers?
Yes, but only in as much as. e.g.
Subject: =?iso-8859-1?q?p=F6stal?=
is 7-bit ASCII.
http://docs.python.org/lib/module-email.header.html
has more.
Raphael
Tres.
- --
Charlie Clark schrieb:
This is just a quick one: how do I include documents within another
document? ie. say I have local_pt which is going has different boxed
with text from other documents. I assume I have to call a method on the
document to render it correctly but haven't found the right
Chris Withers schrieb:
Alexander Limi wrote:
This issue goes back to the original discovery that Zope had a bug
that made its Product lookup mechanism
What do you mean by Product lookup mechanism?
The way in which '_get/_queryFactoryMethod' (called by
'isContructionAllowed' for each and
Tres Seaver wrote:
[..]
Going back briefly to ReST: if Zope seems ready to support this out
of the box, wouldn't it useful to support ReST in
CMFDefault.Document? Or is the dependency on docutils too precarious?
It could be added gracefully to the edit form if import
reStructuredText
Charlie Clark wrote:
[..]
Sorry, but I can't see any relation: my post is solely related to
content in the ZODB. Anyway doesn't Silva do this (work extremely well
with external files) already?
Sorry that I've been unclear as to what I meant.
The point is not file system versus ZODB here
Tres Seaver wrote:
[..]
Note that the extension author's convenience was not highest in priority
in the design, which tries to make the integrators job easier.
Extension authors have to be extremely cautious, and may need to clone
steps (in the absence of dependencies).
[sorry if this
roel wrote:
[..]
I spend several days digging trough various information sources, but I could
not find a proper solution.
What am I missing here?
With kind regards, Roel.
'VerboseSecurity' is your friend ;-)
Raphael
---
Scarlet One, ADSL 6 Mbps + Telefonie, vanaf EUR 29,95...
Charlie Clark wrote:
[..]
That's probably the easiest solution at the moment although it would be
nice to be able to declare this in the schema. I suppose two different
interfaces à la IObject and IMutableObject provide a way. I find
fiddling with the form fields too easy to mess up! I
Jens Vagelpohl wrote:
Hi Jens,
Just wondering: Now that we are splitting the CMF down into its
constituent packages and people don't need to get the old-fashioned
tarball, do we need to have a copy of the LICENSE.txt file in every
package?
I'd think so, yes.
And if yes, where would it
Miles wrote:
[..]
I suppose the slight deviation from BBB is that if someone is using a
custom catalog (for example a day-of-week-to-show flag to provide
random search results), they'll also need to provide some sort of
customisation when objects are fetched by uid to get the same thing to
Hi,
today I'm facing the situation where I want to support a Members folder
(rare these days) but this folder should be deeper down in the site
(very rare; for me this is the first time ever).
Currently, CMF(Default - and Plone for that matter) does not support
this OOTB because CMFDefault's
Wichert Akkerman wrote:
Previously Raphael Ritz wrote:
Currently, CMF(Default - and Plone for that matter) does not support
this OOTB because CMFDefault's MembershipTool uses a simple getattr
call for the 'membersfolder_id' on the site object.
Changing this to use 'unrestrictedTraverse
Jens Vagelpohl wrote:
[..]
Please keep in mind the true nature of CMFDefault: It's a sample
application of the framework laid down in CMFCore. So IMHO _if_ this
kind of configurable members folder location feature is added, it
should be in CMFCore and thus available to CMFDefault.
Miles wrote:
Hi,
I was playing with using zc.formlib and five to create some content
types - not exactly ahead of the curve, I know. I have it all working
fine for basic edit/add forms.
I want to replace one of the operations in a site that is a multi-page
wizard with something based
Charlie Clark wrote:
Am 28.01.2009 um 21:41 schrieb Tres Seaver:
You can also call the 'unrestrictedSearchResults' method from trusted
code (e.g., the debugger): it bypasses those checks.
I should have guessed that there'd be a method like that! Still thanks
to Andreas I now know how
Charlie Clark wrote:
Am 18.02.2009 um 21:51 schrieb Wichert Akkerman:
In my opinion a copy should produce a full copy, including all state
and
history.
Not sure I would agree here.
For a move (cutpaste) yes but for a copy I think
there are too many different use cases to justify
your
Wichert Akkerman wrote:
Previously Raphael Ritz wrote:
Charlie Clark wrote:
Am 18.02.2009 um 21:51 schrieb Wichert Akkerman:
In my opinion a copy should produce a full copy, including all state
and
history.
Not sure I would agree here.
For a move (cutpaste) yes but for a copy I think
Jens Vagelpohl wrote:
Hi Jens,
IMHO the licensing issue is of general interest beyond this one
software bit. If there are any changes to Plone licensing I'm sure
people on this list would be happy if you or someone else could
provide some summary, if and when something is being
Charlie Clark wrote:
Hiya,
I recently managed to get quite a lot of work done on my form(lib) based
replacement for a folder_contents view. Thanks go to Yuppie for doing all
the hard work initially - so that putting it into a form hasn't been that
difficult. Thanks also to Jens for
42 matches
Mail list logo