Skip to content

Commit

Permalink
Remove relatable_content_types record 1.x -> 2.x.
Browse files Browse the repository at this point in the history
A test is not possible since relatable_content_types was in INITFSettings in
1.x but removed in 2.x. We can't add to registry without error.

Closes #208
  • Loading branch information
idgserpro committed Jul 1, 2017
1 parent 6a51add commit 2323715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGES.rst
Expand Up @@ -6,7 +6,9 @@ There's a frood who really knows where his towel is.
2.1b3 (unreleased)
^^^^^^^^^^^^^^^^^^

- Nothing changed yet.
- Add removal of relatable_content_types registry to upgradeStep between 1.x
and 2.x upgrade (closes `#208`_).
[idgserpro]


2.1b2 (2017-06-12)
Expand Down Expand Up @@ -205,3 +207,4 @@ There's a frood who really knows where his towel is.
.. _`#175`: https://github.com/collective/collective.nitf/issues/175
.. _`#178`: https://github.com/collective/collective.nitf/issues/178
.. _`#198`: https://github.com/collective/collective.nitf/issues/198
.. _`#208`: https://github.com/collective/collective.nitf/issues/208
1 change: 1 addition & 0 deletions src/collective/nitf/upgrades/v2000/profile/registry.xml
Expand Up @@ -6,4 +6,5 @@
<record name="collective.nitf.controlpanel.INITFCharCountSettings.show_title_counter" delete="true" />
<record name="collective.nitf.controlpanel.INITFCharCountSettings.title_max_chars" delete="true" />
<record name="collective.nitf.controlpanel.INITFCharCountSettings.title_optimal_chars" delete="true" />
<record name="collective.nitf.controlpanel.INITFSettings.relatable_content_types" delete="true" />
</registry>

0 comments on commit 2323715

Please sign in to comment.