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
Installing plone.app.event break test runner #81
Comments
thanks for the bug report! |
Great ! |
hm... |
I just retried with the new release. First problem is fixed but second remains. I have imported plone.app.event in a project buildout and added it to dependencies of my packages, i get this traceback when running tests : Traceback (most recent call last):
|
now, davisagli and i made some more significant changes to the test setup. the tests are running with plone.app.event's test-42.cfg, test-43.cfg and buildout.coredev's plips/plip10886-event-improvements.cfg on Plone 5. please check again, and reopen if it still fails. if so, please include a minimal buildout.cfg to reproduce the problem. |
@tdesvenain I fixed the same issue in a customer project by noting that the p.a.event test fixtures extend the Products.DateRecurringIndex text fixtures. Installing Products.DateRecurringIndex in my test setup fixed this for me.
|
Great, Thank you guido On Fri, Sep 6, 2013 at 12:20 PM, Guido Stevens notifications@github.comwrote:
Thomas Desvenain Téléphone : 09 51 37 35 18 |
oh yes, the plone.app.event test layers extend the DateRecurringIndex test fixture. |
I think so. Explicit over implicit. All the inherited layer does is DRI install/uninstall. Guido Stevens | +31.43.3618933 | http://cosent.nl s o c i a l k n o w l e d g e t e c h n o l o g y On 6 sep. 2013, at 23:00, Johannes Raggam notifications@github.com wrote:
|
* plone.app.contenttypes para versão Plone (1.1.1) Iniciando a troca de nomes das views como definido em https://github.com/plone/plone.app.contenttypes/blob/1.1.1/plone/app/contenttypes/upgrades.py#L134 * Adiciona campo ateendees para o obj evento-1. Evita o erro plone.app.contenttypes-1.1.1-py2.7.egg/plone/app/contenttypes/migration/dxmigration.py", line 74, in migrate_schema_fields self.new.attendees = tuple(self.old.attendees.splitlines()) AttributeError: 'NoneType' object has no attribute 'splitlines' ao rodar o upgradeStep. No caso, isso só é util se o usuário voltar a rodar esse upgradeStep, pois para usuários que criam sites novos a partir desse commit não terão esse problema. * Pina plone.app.contenttypes. Queremos evitar de pinar numa branch de portal.buildout para que no futuro, caso seja necessário remontar esse ambiente com esse commit, não dê erro na branch que terá sido excluída. * Adiciona upgradeStep. * Patch em migrate_schema_fields Ao atualizar para plone.app.contenttypes 1.1.1, se você tiver um evento criado pelo brasil.gov.portal sem attendees ou ter eventos criados pela interface sem preencher o campo atteendes, dá erro na migração. Por isso precisamos do patch. * Melhora a documentação do migrate_schema_fields * Adiciona Products.DateRecurringIndex no teste. plone/plone.app.event#81 (comment) * Adapta o nome das views para o padrão 1.1.1. Com a atualização para o plone.app.contenttypes, houve mudança no nome das views e foi necessária a sua adaptação, tanto nas templates quanto na lógica dos overrides.zcml. https://github.com/plone/plone.app.contenttypes/tree/1.1.1#user-content-differences-to-productsatcontenttypes folder_listing_view (Folders) and collection_view (Collections) -> listing_view (Folders and Collections) folder_summary_view (Folders) and summary_view (Collections) -> summary_view (Folders and Collections) folder_tabular_view (Folders) and tabular_view (Collections) -> tabular_view (Folders and Collections) folder_full_view (Folders) and all_content (Collections) -> full_view (Folders and Collections) atct_album_view (Folders) and thumbnail_view (Collections) -> album_view (Folders and Collections) * Coloca a url da branch. Coloca a url da branch para poder passar no travis. * Permite que os testes test_collection_summary_view e test_collection_listing_view falhem. test_collection_listing_view e test_collection_summary_view estão falhando após plone.app.contenttypes >= 1.1.1 Ver: #359
Probably because of an incompatibility between ZODB 3.10 and 'persistent' dependency
when we remove persistent from bin/test script, we don't have this traceback
File "/home/thomasdesvenain/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 366, in run_layer
setup_layer(options, layer, setup_layers)
File "/home/thomasdesvenain/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 628, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/thomasdesvenain/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 628, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/thomasdesvenain/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 628, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/thomasdesvenain/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 633, in setup_layer
layer.setUp()
File "/home/thomasdesvenain/.buildout/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/z2.py", line 300, in setUp
self.setUpApp()
File "/home/thomasdesvenain/.buildout/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/z2.py", line 555, in setUpApp
Zope2.startup()
File "/home/thomasdesvenain/.buildout/eggs/Zope2-2.13.21-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/home/thomasdesvenain/.buildout/eggs/Zope2-2.13.21-py2.7.egg/Zope2/App/startup.py", line 123, in startup
DB, 'Application', OFS.Application.Application, ()
File "/home/thomasdesvenain/.buildout/eggs/Zope2-2.13.21-py2.7.egg/App/ZApplication.py", line 31, in init
if not root.has_key(name):
File "/home/thomasdesvenain/.buildout/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/home/thomasdesvenain/.buildout/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 915, in _setstate
obj._p_serial = serial
ValueError: _p_serial must be an 8-character bytes array
The text was updated successfully, but these errors were encountered: