Custom content and migrating to plone.app.folder (P4)

classic Classic list List threaded Threaded
9 messages Options
Mikko Ohtamaa Mikko Ohtamaa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Custom content and migrating to plone.app.folder (P4)

Hi,

What actions an add-on product developer needs to take in order to migrate custom folderish content for plone.app.folder shipped with Plone 4?

* Is migration automatic?

* If it is not does there exist an example code how this migration should be performed for custom content types?

The migration guide does not contain useful information regarding this, neither plone.folder nor plone.app.folder READMEs do.

http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0

Israel Saeta Pérez Israel Saeta Pérez
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

On 18/09/10 15:31, Mikko Ohtamaa wrote:
> The migration guide does not contain useful information regarding this,
> neither plone.folder nor plone.app.folder READMEs do.
>
> http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0


The associated ticket is https://dev.plone.org/plone/ticket/9615 :)

-- israel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Israel Saeta Pérez
Suresh V. Suresh V.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

In reply to this post by Mikko Ohtamaa
Mikko Ohtamaa wrote:
> Hi,
>
> What actions an add-on product developer needs to take in order to migrate
> custom folderish content for plone.app.folder shipped with Plone 4?

This may be relevant.

http://my-experiments-with-plone.blogspot.com/2010/05/migrate-btrees-to-rescue.html

Suresh


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Mikko Ohtamaa Mikko Ohtamaa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

In reply to this post by Israel Saeta Pérez
Israel Saeta Pérez wrote
On 18/09/10 15:31, Mikko Ohtamaa wrote:
> The migration guide does not contain useful information regarding this,
> neither plone.folder nor plone.app.folder READMEs do.
>
> http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0


The associated ticket is https://dev.plone.org/plone/ticket/9615 :)
Any news on this?

Just two sentence would be enough

* Do I need to migrate my own content types or not?

* How to migrate if I need to / want to

Mikko Ohtamaa Mikko Ohtamaa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

In reply to this post by Mikko Ohtamaa
bump

Mikko Ohtamaa wrote
Hi,

What actions an add-on product developer needs to take in order to migrate custom folderish content for plone.app.folder shipped with Plone 4?

* Is migration automatic?

* If it is not does there exist an example code how this migration should be performed for custom content types?

The migration guide does not contain useful information regarding this, neither plone.folder nor plone.app.folder READMEs do.

http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0
Mikko Ohtamaa Mikko Ohtamaa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

bump2

Mikko Ohtamaa wrote
bump

Mikko Ohtamaa wrote
Hi,

What actions an add-on product developer needs to take in order to migrate custom folderish content for plone.app.folder shipped with Plone 4?

* Is migration automatic?

* If it is not does there exist an example code how this migration should be performed for custom content types?

The migration guide does not contain useful information regarding this, neither plone.folder nor plone.app.folder READMEs do.

http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0
Alan Runyan-3 Alan Runyan-3
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

>>> What actions an add-on product developer needs to take in order to
>>> migrate custom folderish content for plone.app.folder shipped with Plone
>>> 4?

Maybe run the migration view on your folders?
http://svn.plone.org/svn/plone/plone.app.folder/trunk/src/plone/app/folder/migration.py
http://svn.plone.org/svn/plone/plone.app.folder/trunk/src/plone/app/folder/configure.zcml

call the migrate-btrees on your instance?

>>> * Is migration automatic?

good question.

>>> * If it is not does there exist an example code how this migration should
>>> be performed for custom content types?

i think the above link, if valid, shows its just manipulating the
ObjectManager innards
to become a BTree.

>>> The migration guide does not contain useful information regarding this,
>>> neither plone.folder nor plone.app.folder READMEs do.

;-( use the source, luke ;-)

>>> http://manage.plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0

try the migration module with some test data.  if it works; please add
section in the docs.

cheers
alan

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
David Glick (GW) David Glick (GW)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

 On 10/13/10 11:09 PM, Alan Runyan wrote:

>>>> What actions an add-on product developer needs to take in order to
>>>> migrate custom folderish content for plone.app.folder shipped with Plone
>>>> 4?
> Maybe run the migration view on your folders?
> http://svn.plone.org/svn/plone/plone.app.folder/trunk/src/plone/app/folder/migration.py
> http://svn.plone.org/svn/plone/plone.app.folder/trunk/src/plone/app/folder/configure.zcml
>
> call the migrate-btrees on your instance?
>
>>>> * Is migration automatic?
> good question.
The migration view mentioned above is called as one of the upgrade steps
when upgrading from Plone 3 to Plone 4. It migrates anything which is an
instance of BTreeFolder (which ATFolder and things that extend it are in
Plone 4).  If you have folderish classes which do not extend BTreeFolder
even after the upgrade to Plone 4, you would need to update the base
classes and then re-run the migration.

----------
David Glick
 Web Developer
[hidden email]
206.286.1235x32

Groundwire: You Are Connected
 http://groundwire.org               

We're celebrating 15 years! Come to our big party.
 http://groundwire.org/events/groundwires-15th-anniversary-party
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Mikko Ohtamaa Mikko Ohtamaa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom content and migrating to plone.app.folder (P4)

David Glick-3 wrote
The migration view mentioned above is called as one of the upgrade steps
when upgrading from Plone 3 to Plone 4. It migrates anything which is an
instance of BTreeFolder (which ATFolder and things that extend it are in
Plone 4).  If you have folderish classes which do not extend BTreeFolder
even after the upgrade to Plone 4, you would need to update the base
classes and then re-run the migration.
Thanks David. This is the information I was looking for.

I added some initial documentation here:

http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0/large-folder-changes
Loading...