Skip to content

Commit

Permalink
Merge pull request #717 from plone/maurits-warnings
Browse files Browse the repository at this point in the history
Fix DeprecationWarnings.
  • Loading branch information
davisagli authored Jan 22, 2025
2 parents 030c680 + d2d300e commit 5c5f3bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions news/4090.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix DeprecationWarnings. [maurits]
2 changes: 1 addition & 1 deletion plone/app/contenttypes/schema/link.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
i18n:domain="plone"
>
<schema>
<field form:widget="plone.app.z3cform.widget.LinkFieldWidget"
<field form:widget="plone.app.z3cform.widgets.link.LinkFieldWidget"
name="remoteUrl"
type="zope.schema.TextLine"
>
Expand Down
2 changes: 1 addition & 1 deletion plone/app/contenttypes/tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FUNCTIONAL_TESTING
from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_INTEGRATION_TESTING
from plone.app.contenttypes.testing import set_browserlayer
from plone.app.layout.navigation.interfaces import INavigationRoot
from plone.app.testing import login
from plone.app.testing import logout
from plone.app.testing import setRoles
Expand All @@ -16,6 +15,7 @@
from plone.app.testing import TEST_USER_ID
from plone.app.testing import TEST_USER_NAME
from plone.app.textfield.value import RichTextValue
from plone.base.interfaces.siteroot import INavigationRoot
from plone.dexterity.interfaces import IDexterityFTI
from plone.testing.zope import Browser
from transaction import commit
Expand Down
2 changes: 1 addition & 1 deletion plone/app/contenttypes/tests/test_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from plone.app.testing import TEST_USER_ID
from plone.app.z3cform.converters import LinkWidgetDataConverter
from plone.app.z3cform.interfaces import IPloneFormLayer
from plone.app.z3cform.widget import LinkWidget
from plone.app.z3cform.widgets.link import LinkWidget
from plone.dexterity.interfaces import IDexterityFTI
from plone.testing.zope import Browser
from plone.uuid.interfaces import IUUID
Expand Down

0 comments on commit 5c5f3bd

Please sign in to comment.