Skip to content

Commit

Permalink
Fix issue where empty value for JS bundle broke Plone bundle merge
Browse files Browse the repository at this point in the history
  • Loading branch information
datakurre committed Nov 8, 2016
1 parent f50d6f1 commit 07ac100
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Changelog
2.0.1 (unreleased)
------------------

- Nothing changed yet.

- Fix issue where empty value for JS bundle broke Plone bundle merge
on a new site
[datakurre]

2.0.0 (2016-11-04)
------------------
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion src/collective/roster/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<metadata>
<version>16</version>
<version>17</version>
<dependencies>
<dependency>profile-plone.app.dexterity:default</dependency>
</dependencies>
Expand Down
1 change: 1 addition & 0 deletions src/collective/roster/profiles/default/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
interface="Products.CMFPlone.interfaces.IBundleRegistry"
condition="have plone-5">
<value key="depends">plone</value>
<value key="jscompilation">++resource++collective.roster/bundle.js</value>
<value key="csscompilation">++resource++collective.roster/bundle.css</value>
<value key="merge_with">default</value>
<value key="compile">False</value>
Expand Down
11 changes: 11 additions & 0 deletions src/collective/roster/upgrades.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,15 @@
run_deps="false"
/>

<genericsetup:upgradeDepends
source="16" destination="17" sortkey="16"
title="Upgrade collective.roster (16 to 17)"
description="Register resource bundles for Plone 5"
profile="collective.roster:default"
import_profile="collective.roster:default"
import_steps="plone.app.registry"
purge="false"
run_deps="false"
/>

</configure>

0 comments on commit 07ac100

Please sign in to comment.