Re: [Zope-dev] Cache-bug in handling of files

2000-08-14 Thread Peter Arvidsson
Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ - Original Message - From: Brian Lloyd [EMAIL PROTECTED] To: 'Peter Arvidsson' [EMAIL PROTECTED]; Brian Lloyd [EMAIL PROTECTED] Cc: [EMAIL

Re: [Zope-dev] Cache-bug in handling of files

2000-08-11 Thread Peter Arvidsson
Guess noone could help me. I chunked it into the bug collector now. Peter Peter Arvidsson skrev: I started this thread on the regular zope mailinglist but now I found a similar posting to my problem in the archives. I have fileobjects where I store pdf-files. If I want to change the pdf

Re: [Zope-dev] Cache-bug in handling of files

2000-08-11 Thread Peter Arvidsson
That sounds very suspicious - what are your IE cache settings? [...] This bug report was related to the fact that the user was accessing the file through a Squid cache and that at the time (Zope 2.0.1) there was a legitimate bug in the way that "If-Modified-Since" headers were

Re: [Zope] Reloading file objects?

2000-08-11 Thread Peter Arvidsson
for netscape to update its cache. Peter Arvidsson wrote: I have file-objects containing pdf-files. When I change the object to contain another pdf-file (with "manage_upload") I get a problem. When I want to view the file it still shows the old file. However when I choose save to disk I g

[Zope] Difference between manage_changeProperties and manage_editProperties?

2000-08-11 Thread Peter Arvidsson
What is the difference? Somewhere I read that one of them erased all properties and changed those that are sent to the method (causing properties that is not sent to the method to be empty) but I dont remeber where I read it or which one it was? Are there any other differences?

[Zope-dev] Cache-bug in handling of files

2000-08-10 Thread Peter Arvidsson
I started this thread on the regular zope mailinglist but now I found a similar posting to my problem in the archives. I have fileobjects where I store pdf-files. If I want to change the pdf-file I use the method "manage_upload". The problem is that if I try to view it it always choose the one

[Zope] MessageDialog with dtml?

2000-08-10 Thread Peter Arvidsson
Is it possible to display a MessageDialog with dtml only? I have searched the mailinglist archives and found some postings about this but the instructions there doesnt seem to work. Maybe MessageDialog has been changed to 2.2 or something? ___ Zope

[Zope] Reloading file objects?

2000-08-10 Thread Peter Arvidsson
I have file-objects containing pdf-files. When I change the object to contain another pdf-file (with "manage_upload") I get a problem. When I want to view the file it still shows the old file. However when I choose save to disk I get the new object and if I take a look at its properties (size

Re: [Zope] Reloading file objects?

2000-08-10 Thread Peter Arvidsson
]]Namens Peter Arvidsson Verzonden: donderdag 10 augustus 2000 12:56 Aan: [EMAIL PROTECTED] Onderwerp: [Zope] Reloading file objects? I have file-objects containing pdf-files. When I change the object to contain another pdf-file (with "manage_upload") I get a problem. Whe

[Zope] Very strange problem with updating an objects properties

2000-08-09 Thread Peter Arvidsson
I have made two products, one news-product and one product for pressreleases. The products are exactly equal except that they have a bit different properties. All the code for processing these two products are equal (except then for the handling of their different properties). Everything works

[Zope] Referring to objects with an integer as id?

2000-08-08 Thread Peter Arvidsson
How do I refer to an object that has an integer as id? I have pdf-files stored in a folder called "pdf". Now I want to be able to check their filesize. I looked in the API and found that this is done with getSize(self). I have no problem to refer to objects that do not have an integer as id. For

[Zope] Custom error messages - bug?

2000-08-02 Thread Peter Arvidsson
I have customized the standard error message and placed it in a folder above root level. When a error occurs the error message at the root level still get executed though. I have named my own error message the same (standard_error_message) and I am sure that the error I get comes from inside the

Re: [Zope] dtml-in question

2000-08-01 Thread Peter Arvidsson
Hi I had the same problem and found out there is no way yet of making dtml-in with multiple conditions. Instead I had to do dtml-if's and make my own counter and previous/next attributes to handle the batches. Peter Webmaster skrev: I have a bunch of zClass instances and I want to display

Re: [Zope] search on www.zope.org

2000-07-28 Thread Peter Arvidsson
Well the fact is the searchengine on zope.org really s*cks. They really should do something about it... Peter Andy Pahne skrev: Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term.

[Zope] Problems with JavaScript in WinNT + Netscape! Urgent!

2000-07-27 Thread Peter Arvidsson
Hi I am using JavaScript's in zope and until now I havent experienced any problem. Today something strange happened though.. when editing a JavaScript it suddenly stopped working in WindowsNT with Netscape. It worked however in IE on the same computer and on Netscape running on Linux (RedHat

[Zope] [Fwd: Re: [Zope-dev] DateTime formatting with strftime: patch]

2000-07-25 Thread Peter Arvidsson
Original Message Ämne: Re: [Zope-dev] DateTime formatting with strftime: patch Datum: Mon, 24 Jul 2000 16:56:52 +0100 Från: Steve Alexander [EMAIL PROTECTED] Till: [EMAIL PROTECTED] Referenser: [EMAIL PROTECTED] This is now in the Collector, as bug number 1457.

[Zope] Batchprocessing with multiple conditions?

2000-07-25 Thread Peter Arvidsson
I have objects of a certain meta-type. They have some properties and one of the properties is a boolean. How do I make a dtml-in loop among those objects with the boolean set to yes? I dont want it to traverse any other value at all only those that match the condition should be included in the

Re: [Zope] Datebug?

2000-07-24 Thread Peter Arvidsson
The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature. Feature or not I can't use dates in forms because of this. Peter Chris Withers skrev: Erich Seifert wrote: I had the same problem. The fmt

Re: [Zope] Datebug?

2000-07-24 Thread Peter Arvidsson
#1445 (http://classic.zope.org:8080/Collector/1445/view) Chris Withers skrev: What was the issue number? Chris Peter Arvidsson wrote: The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature

[Zope] Re: Datebug?

2000-07-24 Thread Peter Arvidsson
ribel' bit of this :-) cheers, Chris Peter Arvidsson wrote: #1445 (http://classic.zope.org:8080/Collector/1445/view) Chris Withers skrev: What was the issue number? Chris Peter Arvidsson wrote: The most hirrible thing is that I chunked it in the collector bu

Re: [Zope] Re: Datebug?

2000-07-24 Thread Peter Arvidsson
I think I found the posting that you meant but he later said his patch unfortunately didnt do any good. Anyway I have posted the bug to the collector now. Chris Withers skrev: Peter Arvidsson wrote: I already used the things in AlexR's howto but still he uses fmt or strftime

Re: [Zope] Broken products in 2.2 - bug?

2000-07-21 Thread Peter Arvidsson
Unfortunately I deleted the product and then made an equal product (after that it worked) so I cant tell if this was a bug. I'll let someone else who has the same problems try it. Peter Dieter Maurer skrev: Peter Arvidsson writes: The strange thing is that the product itself is not broken

[Zope] Datebug?

2000-07-21 Thread Peter Arvidsson
I have encountered a strange and irritating problem. As I live in Sweden we use timezone 'GMT+1'. I have a form like this: dtml-var standard_html_header form action="a" input type="text" size="15" name="date:date" value="dtml-var ZopeTime fmt=%Y-%m-%d" input type="submit" /form dtml-var

Re: [Zope] Broken products in 2.2 - bug?

2000-07-20 Thread Peter Arvidsson
The strange thing is that the product itself is not broken only all the instances become broken everytime I restart... Peter Dieter Maurer skrev: Peter Arvidsson writes: Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my

[Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
I have a very anoying problem... I have created a news-product and have several news-objects. Now I want to change the properties of a news-object. This is my code for that: dtml-with "newsEntries" dtml-call "_[objId].propertysheets[1].manage_editProperties(

[Zope] Broken products in 2.2 - bug?

2000-07-19 Thread Peter Arvidsson
Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my (and some imported) products become broken because it cant find the product it is an instance of. 963996281 (This object from the unknown product is broken!) I have compared with Zope

Re: [Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
of: to do it, edit your method and choose proxy at the top of the window), u can edit the role of your method. Piotr. Peter Arvidsson wrote: I have a very anoying problem... I have created a news-product and have several news-objects. Now I want to change the properties of a news-object

Re: [Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
... (manager, owner and anonymous)... I had this problem, and it work like that Pierre Peter Arvidsson wrote: Hi Thanks for the tip. I gave the method the correct roles but unfortunatelty the problem still exists. Peter Pierre Rougier skrev: Hi :) I may say something

[Zope] Date-bug in properties?

2000-07-10 Thread Peter Arvidsson
When I try to add a date-property and want to leave the Value-field empty i get the following error: Error Type: Invalid Date-Time String Error Value: When I write a date in the Value-field I can add the date. Is this a bug? Why cant I add a date with no default value? In several howtos they

Re: [Zope] Date-bug in properties?

2000-07-10 Thread Peter Arvidsson
Ah I saw that was a known bug. Forget this post :) Peter Arvidsson skrev: When I try to add a date-property and want to leave the Value-field empty i get the following error: Error Type: Invalid Date-Time String Error Value: When I write a date in the Value-field I can add the date

[Zope] Wizards?

2000-07-10 Thread Peter Arvidsson
I am trying to create wizards but as usual I am running into problems.. To forward input to the next step I learned in the howto "Wizards made easy" that this was the way to do it: dtml-in "REQUEST.form.items()" input type="hidden" name="dtml-var sequence-key" value="dtml-var sequence-item"

[Zope] Calculate difference between time input?

2000-07-07 Thread Peter Arvidsson
How do I calculate the difference between two times I get from a from? Lets say time a = 09:45 and time b = 11:15 Then I want to calculate the difference. How do I calculate it? I'd also like to know how to get the answers in differen formats. For example caculating the input above I want to be

Re: [Zope] Calculate values?

2000-07-06 Thread Peter Arvidsson
Chris Withers wrote: Peter Arvidsson wrote: I am about to do dtml-call "REQUEST.set('a', (a - b) * 15" I presume that should be: dtml-call "REQUEST.set('a', (a - b) * 15)" ? ;-) Anyway, two options: 1. On your form, change your input to be: input type=&qu

[Zope] Error tracing...

2000-07-06 Thread Peter Arvidsson
How do I trace errors in Zope? I get the following error message: "Empty entry when integer expected " It gives a hint of the problem but I cant see what value is empty.. how do I control the values? Is there some way to write out variables or do I just have to guess???