Skip to content

Commit

Permalink
Merge pull request #37 from RedTurtle/bug_53152_problema_ereditarieta…
Browse files Browse the repository at this point in the history
…_serializer

fix problem with serializer hineritance
  • Loading branch information
luca-bellenghi authored Mar 13, 2024
2 parents b4d7faa + a80a843 commit 56c7f08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
1.2.3 (unreleased)
------------------

- Fix problem with DefaultJSONSummarySerializer hineritance in prenotazioniFolder
DefaultJSONSummarySerializer override.
[lucabel]
- Add the plone.restapi>=9.6.0 constaint.
[folix-01]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
from design.plone.contenttypes.restapi.serializers.summary import (
DefaultJSONSummarySerializer,
)
from design.plone.ioprenoto import PRENOTAZIONI_MANAGE_PERMISSION
from design.plone.ioprenoto.interfaces import IDesignPloneIoprenotoLayer
from plone import api
from plone.restapi.interfaces import ISerializeToJson, ISerializeToJsonSummary
from plone.restapi.serializer.summary import DefaultJSONSummarySerializer
from plone.restapi.interfaces import ISerializeToJson
from plone.restapi.interfaces import ISerializeToJsonSummary
from redturtle.prenotazioni.content.prenotazioni_folder import IPrenotazioniFolder
from redturtle.prenotazioni.restapi.serializers.adapters.prenotazioni_folder import (
PrenotazioniFolderSerializer,
)
from zope.component import adapter
from zope.interface import implementer

from design.plone.ioprenoto import PRENOTAZIONI_MANAGE_PERMISSION
from design.plone.ioprenoto.interfaces import IDesignPloneIoprenotoLayer

# TODO: move to registry
PRENOTAZIONE_APPUNTAMENTO_ADDRESS = "prenotazione-appuntamenti-uffici"
Expand Down

0 comments on commit 56c7f08

Please sign in to comment.