Upgrade to Plone 5
-
Upload
philip-bauer -
Category
Technology
-
view
1.442 -
download
0
Transcript of Upgrade to Plone 5
![Page 1: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/1.jpg)
U P G R A D E T O P L O N E 5P H I L I P B A U E R P L O N E C O N F E R E N C E 2 0 1 5
![Page 2: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/2.jpg)
Philip Bauer Munich starzel.de
pbauer (github / irc) StarzelDe (twitter)
![Page 3: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/3.jpg)
PA R T 1 : G O O G L E F O R „ M I G R AT I O N S , U P G R A D E S A N D R E L A U N C H E S "
![Page 4: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/4.jpg)
„Every non-trivial upgrade should be approached as a relaunch.“
![Page 5: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/5.jpg)
„The primary challenge is not development but communication and project management.“
![Page 6: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/6.jpg)
„Bring time. And space.“
![Page 7: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/7.jpg)
„Expect everything to break!“
![Page 8: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/8.jpg)
„Don't experiment, document.“
![Page 9: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/9.jpg)
„Write your code as if your own kids will inherit the code one day.“
![Page 10: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/10.jpg)
„Write upgrade-steps.“
![Page 11: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/11.jpg)
„Divide and conquer.“
![Page 12: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/12.jpg)
„Don't try more than two new things at once.“
![Page 13: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/13.jpg)
„Use the Help.“
![Page 14: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/14.jpg)
U P G R A D I N G F R O M P L O N E 4 T O 5
Why?
Cui bono?
An easy sell?
![Page 15: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/15.jpg)
L I V E D E M O
![Page 16: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/16.jpg)
I T C A N ’ T B E T H AT E A S Y
A old site with content, configuration and add-ons
www.starzel.de
![Page 17: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/17.jpg)
I T C A N ’ T B E T H AT E A S Y
![Page 18: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/18.jpg)
I T C A N ’ T B E T H AT E A S Y
LinguaPlone is hard to get rid of
Theming is tricky
Some add-ons work nicely in Plone 5
![Page 19: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/19.jpg)
I S S U E S
KeyError: 'Interface `plone.app.iterate.interfaces.IIterateSettings` defines a field `checkout_workflow_policy`, for which there is no record.'
![Page 20: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/20.jpg)
I S S U E S
ComponentLookupError: (<InterfaceClass plone.resource.interfaces.IResourceDirectory>, 'persistent')
![Page 21: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/21.jpg)
I S S U E S
List of content to migrate from AT to DX is empty
![Page 22: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/22.jpg)
L I N G U A P L O N E – O H M Y !
LinguaPlone ➟ plone.app.multilingual (2.x) in 4.3.x
Documentation: https://github.com/plone/plone.app.multilingual/issues/181
wildcard.fixpersistentutilities to the rescue!
Can someone please sprint on this?
![Page 23: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/23.jpg)
T H E U P G R A D E - G U I D E
http://docs.plone.org/manage/upgrading/version_specific_migration/p4x_to_p5x_upgrade.html
Needs love at sprint
![Page 24: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/24.jpg)
Your design will break unless it is a full diazo theme
T H E D E S I G N
![Page 25: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/25.jpg)
Just joking ;-)
T H E D E S I G N
![Page 26: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/26.jpg)
Your design will always break
T H E D E S I G N
![Page 27: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/27.jpg)
Disable your custom theme before migrating!
T H E D E S I G N
![Page 28: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/28.jpg)
C O N T E N T
![Page 29: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/29.jpg)
S E T T I N G S
<record name="plone.displayed_types"> <value purge="false"> <element>talk</element> </value> </record>
![Page 30: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/30.jpg)
C O D E
![Page 31: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/31.jpg)
A R C H E T Y P E S D E X T E R I T Y
@@pac_installer
@@atct_migrator
@@migrate_from_atct
![Page 32: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/32.jpg)
A R C H E T Y P E S D E X T E R I T Y
@@custom_migration
![Page 33: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/33.jpg)
A R C H E T Y P E S D E X T E R I T Y
from plone.app.contenttypes.migration import field_migrators
![Page 34: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/34.jpg)
A R C H E T Y P E S D E X T E R I T Y
![Page 35: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/35.jpg)
A R C H E T Y P E S D E X T E R I T Y
ISSUES:
memory
commits
![Page 36: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/36.jpg)
U P G R A D I N G A D D - O N S F R O M 4 T O 5
That’s your job.
![Page 37: Upgrade to Plone 5](https://reader033.fdocuments.us/reader033/viewer/2022052117/58ef571d1a28ab380e8b467d/html5/thumbnails/37.jpg)
Thanks