[Erp5-dev] BaseTrade*_FiledLibrary - date-time fields
Shresth K
shresth.k at gmail.com
Thu Jun 21 14:59:17 CEST 2007
On 21/06/07, Aurélien Calonne <aurel at nexedi.com> wrote:
>
> Shresth K a écrit :
> > Site Error
> >
> > An error was encountered while publishing this resource.
> > Error Type: IOError
> > Error Value: [Errno 2] No such file or directory:
> > '/var/lib/zope/Constraint/Dupl icateInventory.py'
> >
> > As it is evident, it seems the latest erp5_trade bt has broken a few
> > things as DuplicateInventory.py was removed. Even by manual addition, to
> > advance forward, I landed up with several portal_workflow_chains
> missing.
> >
> > Have I done anything wrong or is the latest erp5_trade a bit
> > broken(ulikely as I see that the Unit tests a going through fine)?
> >
> For me, this look more like a typo error in your business template
> definition. Go to the "Details" tab and check that you have
> DuplicateInventory.py in Constraint field and not Dupl icateInventory.py
No, it wasn't the typo. May be the mistake was introduced while I wrote the
mail.
I have had a very hard time trying to upgrade from r14629 to the latest.
r14733
While upgrading and clicking on subversion, I faced some of these problems:
1. As explained above Constraint/DuplicateInventory.py was missing. So I
added it manually.
2. Then all Allowed Content Types, Hidden Content Types and PropertySheets
for all the trade related portal types were missing.
I proceeded manually by correcting each of those with the hope that I could
catch the 'ghost' but couldn't proceed further when it said that
'PropertySheet DuplicateInventory missing for portal type Inventory' as no
such PropertySheet exists as per my findings.
Hence, my plan to upgrade the BT failed miserably, so I tried the crude way
again:
1. I un-installed erp5_trade.
2. Did an 'svn up' for the latest erp5_trade, downloaded it into
portal_templates via URL and then installed it.
3. Now by clicking on Subversion I should not be getting any modified files
since it is the latest working copy that is installed. Yet there are many
files that are listed there.
Now can anyone explain this or should I have updated other BTs as well?
I am now going to make the changes to the BaseTrade*_FieldLibrary and try to
generate the patches.
Thanks,
Shresth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070621/b773f5e2/attachment.htm>
More information about the Erp5-dev
mailing list