Skip to content

Commit

Permalink
fix upgrade step
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-bellenghi committed Jun 24, 2024
1 parent 3fa6a12 commit 18b3dc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
6.2.12 (unreleased)
-------------------

- Nothing changed yet.
- Fix problem with upgrade step to 7305
[lucabel]


6.2.11 (2024-06-24)
Expand Down
2 changes: 1 addition & 1 deletion src/design/plone/contenttypes/upgrades/to_730x.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def to_7304(context):

def to_7305(context):
mapping = SUBFOLDERS_MAPPING["Servizio"]
mapping = [folder for folder in mapping if folder["id"] == "modulistica"][0]
mapping = [folder for folder in mapping.get('content') if folder["id"] == "modulistica"][0] # noqa
brains = api.content.find(portal_type="Servizio")
tot = len(brains)
i = 0
Expand Down

0 comments on commit 18b3dc7

Please sign in to comment.