#192 — Parameter 'pubdate of Weblog.addEntry is pointless
by
Jan Hackel
—
last modified
Aug 12, 2009 04:37 PM
| State | Unconfirmed |
|---|---|
| Version: | 1.7 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Jan Hackel |
| Submitted on | May 04, 2009 |
| Responsible |
—
|
| Target release: | 2.0 |
Due to the way 'WeblogEntry.publish' is defined, the publication date set by the 'pubdate' argument to 'Weblog.addEntry' is always lost. This is because the pubdate argument of 'WeblogEntry.publish' defaults to the current date.
- Steps to reproduce:
- >>> entry = self.weblog.addEntry(title="Issue #189", id="issue189",
... excerpt="None", text="None")
>>> entry.setPublicationDate( DateTime("2009-04-28T16:48:00") )
>>> entry.publish()
>>> entry.getPublicationDate()
DateTime('2009/04/28 16:48:00 GMT+0')
Added by
Joel Marion
on
Aug 12, 2009 04:37 PM
could this be related to http://plone.org/products/quills/issues/214 ?
No responses can be added.
If you can, please log in before submitting a reaction.
