Skip to content

Commit 5e2f70d

Browse files
Merge branch 'master' into bug_search_event_restapi
2 parents 46429ef + 92e600b commit 5e2f70d

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGES.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
Changelog
22
=========
33

4-
5.9.2 (unreleased)
4+
5.9.4 (unreleased)
55
------------------
66

77
- Nothing changed yet.
88

99

10+
5.9.3 (2025-11-24)
11+
------------------
12+
13+
- Fix on #151 changes (#152)
14+
[mamico]
15+
16+
17+
5.9.2 (2025-11-20)
18+
------------------
19+
20+
- Avoid acquisition problems in monkeypatch (#151).
21+
[cekk]
22+
1023
5.9.1 (2025-09-25)
1124
------------------
1225
- Exclude "teaser" to avoid block modification by resolveuidserializer

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name="redturtle.volto",
19-
version="5.9.2.dev0",
19+
version="5.9.4.dev0",
2020
description="Helper package to setup a RedTurtle's Plone site ready to work with Volto.",
2121
long_description=long_description,
2222
# Get more from https://pypi.org/classifiers/

src/redturtle/volto/monkey.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,16 @@ def plone_restapi_blocks_linkintegrity_blocksretriever_retrieveLinks(self):
205205
"""
206206

207207
links = set()
208-
blocks = getattr(self.context, "blocks", {})
208+
context = aq_base(self.context)
209+
blocks = getattr(context, "blocks", {})
209210
if not blocks:
210211
return links
211-
for block in visit_blocks(self.context, blocks):
212+
for block in visit_blocks(context, blocks):
212213
if not isinstance(block, dict):
213214
continue
214215

215216
for handler in iter_block_transform_handlers(
216-
self.context, block, IBlockFieldLinkIntegrityRetriever
217+
context, block, IBlockFieldLinkIntegrityRetriever
217218
):
218219
links |= set(handler(block))
219220
return links

test_plone60.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ docutils = 0.21.2
2121
plone.stringinterp = 2.0.0
2222
# plone.restapi >= 9.6.1 don't put subjects into SearchableText (to investigate)
2323
plone.restapi = 9.6.0
24+
cffi =

0 commit comments

Comments
 (0)