Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Dec 2013 at 18:26 UTC
Updated:
29 Jul 2014 at 23:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
larowlanGood idea
Comment #2
larowlanShould we be unit testing these, or at the very least opening a followup to do so?
Shouldn't this just wrap the code in Comment?
Comment #3
dawehnerBoth are static methods which I think we really don't have to put into the interface.
Comment #4
andypostAdded unit test, and fixed doc-blocks
@larowlan there's some specific
substr()so not sure about 2.@dawehner Probably but
EntityInterfacealready exposes some static methods, so not sureComment #5
larowlanShouldn't the old functions just wrap the new ones?
Comment #6
andypostThis functions are really number specific so moved to proper component
Re-title, also fixed
CommentLockTest.phptest to expect real valuesComment #8
andypost6: 2157703-comment-static-6.patch queued for re-testing.
Comment #9
larowlanNot sure on the group name in the new test's getInfo method, should it be common instead of commons?
Other than that rtbc.
Comment #10
andypostRe-roll for Common
Comment #11
larowlanThanks
Comment #12
andypost10: 2157703-comment-static-10.patch queued for re-testing.
Comment #13
catchCommitted/pushed to 8.x, thanks!
Still need to sort out the @deprecated tag but there's an issue open for that.
Comment #15
ianthomas_ukOpened #2187653: Remove comment_alphadecimal_to_int and comment_int_to_alphadecimal to remove these, as they are unused and comment_int_to_alphadecimal doesn't do what it's meant to.