-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI build for integration with plone.app.contenttypes #482
Conversation
07efa47
to
cce6c43
Compare
DX only has a image attribute and also does not accept a image but |
d58ac9f
to
cea4803
Compare
cea4803
to
6170b8b
Compare
6170b8b
to
9f81b1c
Compare
this is now a blocker for #576 |
5686e17
to
c89a29c
Compare
mime = obj.lookupMime(obj.getField('file').getContentType(obj)) | ||
size = obj.get_size() | ||
|
||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6705d26
to
805b80a
Compare
@idgserpro do you mind help me testing this branch? |
4816087
to
5447036
Compare
@rodfersou please review and merge. |
a7c75d0
to
6138b68
Compare
Even as collective.cover has been in production using plone.app.contenttypes for more than 2 years in many sites, we haven't deal with testing that in CI. Many changes were made here to achieve compatibility and fix some errors: - testing content creation was refactored to simplify it - Dexterity Image content was removed as is no longer necessary (test case is covered by using plone.app.contenttypes) - a bunch of hacks to deal with Archetypes/Dexterity API incompatibilites were included - RF collection tile test was refactored and finally fixed (I hope so) - documentation was updated to include a known good versions of packages involved This is a huge step in the search of Plone 5 compatibility.
a4f9108
to
fb6467d
Compare
49684b7
to
5e9b0cc
Compare
We ignore some tests are randomly failing under Plone 4.2.
Add CI build for integration with plone.app.contenttypes
@hvelarde, no need for changelog in this one? |
mostly changes on test infrastructure because of incompatibilities among Archetypes and Dexterity and some bug fixes; but, yes, you are probably right. |
Even with collective.cover being in production using plone.app.contenttypes for more than 2 years in many sites, we haven't dealt with testing that in CI.
Many changes were made here to achieve compatibility and fix some errors:
This is a huge step in the search of Plone 5 compatibility.