Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DeprecationWarnings. #717

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading