- Issue created by @acbramley
- Status changed to Needs review
5 months ago 12:26am 24 July 2024 - π¨π¦Canada mandclu
Thanks for this! Any chances you could provide steps to reproduce?
- π¦πΊAustralia acbramley
@mandclu I've never used this module but I maintain the Diff module. I had similar issue with another module so I've created issues for all modules extending this class.
You'd just need to install Diff 2.x and diff something using this module's field type.
- πΊπΈUnited States FrankieD3
I can confirm the above. With the Smart Date and Diff modules enabled:
- Add a Smart Date field to any given content type
- Create a node of the content type with the Smart Date field
- Update the node to create a revision - note that you don't have to fill out the Smart Date field
- Compare the new revision using the Diff module through the node's revision page
- πΊπΈUnited States micahw156
I can confirm with above. I had to do the same fixes on one of our custom modules earlier today.
+1 for RTBC.
Thanks @acbramley.However, the same problems occur in Address, Dynamic Entity Reference, Office Hours modules. #3480456-Fatal error occurs π Fatal error occurs Active
Maybe other modules that I don't know about also have this problem.Wouldn't it be better to approach the issue through the Diff module?
Because it may be necessary to integrate a separate solution for each different module.-
mandclu β
committed 89fa95f6 on 4.1.x authored by
acbramley β
Issue #3463447 by acbramley: Fix diff 2.x integration
-
mandclu β
committed 89fa95f6 on 4.1.x authored by
acbramley β
- π¨π¦Canada mandclu
Declaring return types is a best practice, and may soon be officially declared as a requirement in core. Thanks @acbramley for identifying this and posting a fix. Merged in.
- πΊπΈUnited States micahw156
Hi,
This patch was applied to the 4.1.x branch, but it's not included in the 4.2.0 release. Fortunately, the patch still applies fine for me against that release.
I've reopened the issue so this can get fixed in the current branch.
-
mandclu β
committed 7ebfdd97 on 4.2.x authored by
acbramley β
Issue #3463447 by acbramley: Fix diff 2.x integration
-
mandclu β
committed 7ebfdd97 on 4.2.x authored by
acbramley β
- π¨π¦Canada mandclu
Thanks for catching that @micahw156. This has now also been applied to the 4.2.x branch, and I will roll a new release shortly.
Automatically closed - issue fixed for 2 weeks with no activity.