Skip to content

Commit a8cf61e

Browse files
erralclaude
andcommitted
Remove zcml:condition="have plone-61" from view registrations
Views should be registered for both Plone 6.0 and 6.1. The zcml:condition was incorrectly preventing view registration on Plone 6.0, causing ComponentLookupError in tests. Affected views: - cs_dynamicpages-title-description-view - cs_dynamicpages-featured-view - cs_dynamicpages-featured-overlay-view - cs_dynamicpages-slider-view - cs_dynamicpages-features-view - cs_dynamicpages-query-columns-view 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0829f00 commit a8cf61e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/cs_dynamicpages/views/configure.zcml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
xmlns="http://namespaces.zope.org/zope"
33
xmlns:browser="http://namespaces.zope.org/browser"
44
xmlns:plone="http://namespaces.plone.org/plone"
5-
xmlns:zcml="http://namespaces.zope.org/zcml"
65
i18n_domain="cs_dynamicpages"
76
>
87

@@ -79,18 +78,15 @@
7978
<browser:page
8079
name="cs_dynamicpages-title-description-view"
8180
template="dynamic_title_description_view.pt"
82-
zcml:condition="have plone-61"
8381
/>
8482
<browser:page
8583
name="cs_dynamicpages-featured-view"
8684
template="featured_view.pt"
87-
zcml:condition="have plone-61"
8885
/>
8986

9087
<browser:page
9188
name="cs_dynamicpages-featured-overlay-view"
9289
template="featured_overlay_view.pt"
93-
zcml:condition="have plone-61"
9490
/>
9591

9692
<browser:page
@@ -118,7 +114,6 @@
118114
<browser:page
119115
name="cs_dynamicpages-query-columns-view"
120116
template="query_columns_view.pt"
121-
zcml:condition="have plone-61"
122117
/>
123118
</browser:pages>
124119

@@ -131,7 +126,6 @@
131126
<browser:page
132127
name="cs_dynamicpages-slider-view"
133128
template="slider_view.pt"
134-
zcml:condition="have plone-61"
135129
/>
136130

137131
<browser:page
@@ -142,7 +136,6 @@
142136
<browser:page
143137
name="cs_dynamicpages-features-view"
144138
template="features_view.pt"
145-
zcml:condition="have plone-61"
146139
/>
147140
</browser:pages>
148141

0 commit comments

Comments
 (0)