Skip to content

Conversation

gyst
Copy link

@gyst gyst commented Jul 25, 2025

This requires collective.collabora 1.1.0, which contains collective/collective.collabora#12.

As a driveby, fix an encoding declaration that drives my editor crazy.

gyst added 2 commits July 25, 2025 13:57
This requires collective/collective.collabora#12

As a driveby, fix an encoding declaration that drives my editor crazy.

@adapter(IPODTemplate)
@implementer(IStoredFile)
class StoredPodTemplate(object):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's missing DXStoredFile here.

After that, I still get error *** AttributeError: file when adapting my "PODTemplate" file with IStoredFile

Copy link
Author

Choose a reason for hiding this comment

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

I added the baseclass. That attributeerror indicates, that your adapter is not properly kicking in and it's using the upstream collective.collabora adapter instead - is it true that you get this error already on your own code? I don't have a working dms.mail install so I can't trace this for you.

Copy link
Contributor

@chris-adam chris-adam Jul 29, 2025

Choose a reason for hiding this comment

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

Yes, in fact, I get an error "This page does not exist" when visiting "/my-pod-file/@@collabora-edit" that I was not having before.
Using a breakpoint in CollaboraEditView's init method showed me the error on line 44. I have no logs otherwise

Copy link
Author

Choose a reason for hiding this comment

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

Like I said, I don't have a working interactive install. If you'd like me to fix this, I need an integrationtest that reproduces the failure.

Copy link
Contributor

Choose a reason for hiding this comment

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

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