Skip to content
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

Fix exception related with new version of plone protect related with returning empty string in the browser view #39

Merged
merged 4 commits into from
Aug 23, 2017

Conversation

rodfersou
Copy link
Member

@rodfersou rodfersou commented Aug 2, 2017

@rodfersou rodfersou force-pushed the disable-plone-protect branch 2 times, most recently from e6bc79e to f284f17 Compare August 3, 2017 12:03
@rodfersou rodfersou changed the title Disable Prone Protect into recent updates view Fix exception related with new version of plone protect related with returning empty string in the browser view Aug 14, 2017
@hvelarde
Copy link
Member

hvelarde commented Aug 14, 2017

the error is here:

...
  File "/home/travis/build/collective/collective.liveblog/eggs/plone.protect-3.0.23-py2.7.egg/plone/protect/auto.py", line 50, in <module>
    from plone.app.blob.content import ATBlob
  File "/home/travis/build/collective/collective.liveblog/eggs/plone.app.blob-1.7.2-py2.7.egg/plone/app/blob/content.py", line 10, in <module>
    from plone.app.blob.markings import markAs
  File "/home/travis/build/collective/collective.liveblog/eggs/plone.app.blob-1.7.2-py2.7.egg/plone/app/blob/markings.py", line 8, in <module>
    from Products.ATContentTypes.interfaces import file as atfile
...

but I have no idea why it happens and how to fix it; ask in the forums.

I think Archetypes is available but not installed in both Plone 5.0 and Plone 5.1.

@rodfersou
Copy link
Member Author

rodfersou commented Aug 23, 2017

What is even more weird is that if I start instance debug the same import don't show exceptions:

...
>>> from Products.ATContentTypes.interfaces import file as atfile
>>> 

@rodfersou
Copy link
Member Author

but it shows other exception related with ftw.upgrade version

Copy link
Member

@hvelarde hvelarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be fixed in a cleaner way when implementing #4.

@hvelarde hvelarde merged commit 886ab74 into master Aug 23, 2017
@hvelarde hvelarde deleted the disable-plone-protect branch August 23, 2017 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants