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

SPV: Error when generating protocol #3459

Closed
jone opened this Issue Oct 2, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@jone
Member

jone commented Oct 2, 2017

https://sentry.4teamwork.ch/sentry/onegov-gever/issues/4162/

MissingParagraphTemplate: 
(4 additional frame(s) were not displayed)
...
  File "home/zope/theta.4teamwork.ch/55-spv.onegovgever.ch/src/opengever.core/opengever/meeting/command.py", line 309, in execute
    return super(MergeDocxProtocolCommand, self).execute()
  File "home/zope/theta.4teamwork.ch/55-spv.onegovgever.ch/src/opengever.core/opengever/meeting/command.py", line 259, in execute
    self.generate_file_data(),
  File "home/zope/theta.4teamwork.ch/55-spv.onegovgever.ch/src/opengever.core/opengever/meeting/command.py", line 357, in generate_file_data
    self._export_paragraph_as_document(agenda_item, target_path)
  File "home/zope/theta.4teamwork.ch/55-spv.onegovgever.ch/src/opengever.core/opengever/meeting/command.py", line 378, in _export_paragraph_as_document
    sablon = Sablon(self._get_paragraph_template())
  File "home/zope/theta.4teamwork.ch/55-spv.onegovgever.ch/src/opengever.core/opengever/meeting/command.py", line 390, in _get_paragraph_template
    raise MissingParagraphTemplate()

MissingParagraphTemplate

@jone jone self-assigned this Oct 2, 2017

@jone jone added Bug SPV labels Oct 2, 2017

@jone

This comment has been minimized.

Show comment
Hide comment
@jone

jone Oct 3, 2017

Member
  • Make the paragraph_template field required in committee containers (analog to #3453)
  • Add the sablon template https://spv.onegovgever.ch/vorlagen/document-588 to the development setup as example content.
  • Set this sablon template as default paragraph template on the committee container in the development example content.

This does not directly solve the problem, but the validation will show that a template needs to be configured after activating the word-meeting feature.

Member

jone commented Oct 3, 2017

  • Make the paragraph_template field required in committee containers (analog to #3453)
  • Add the sablon template https://spv.onegovgever.ch/vorlagen/document-588 to the development setup as example content.
  • Set this sablon template as default paragraph template on the committee container in the development example content.

This does not directly solve the problem, but the validation will show that a template needs to be configured after activating the word-meeting feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment