Skip to content

Commit

Permalink
Fix DeprecationWarnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Jan 20, 2025
1 parent 030c680 commit d2d300e
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 d2d300e

Please sign in to comment.