Closed (fixed)
Project:
Group
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Jan 2019 at 12:38 UTC
Updated:
8 Feb 2019 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Once #3028340: Create a central service that calculates someone's group permissions lands, we can clean up the now duplicate code in GroupPermissionsHashGenerator.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | group-3028346-8.patch | 34.14 KB | kristiaanvandeneynde |
| #5 | group-3028346-5.patch | 34.13 KB | kristiaanvandeneynde |
Comments
Comment #2
kristiaanvandeneyndeThis moves the hash generator test to a unit test that no longer thoroughly checks caching as the CalculatedGroupPermissions object has cacheable metadata that is being passed around and said system is already thoroughly tested to work in core. This also removes the deprecated code from the hash generator as the next release should be 8.1.0
Comment #3
kristiaanvandeneyndeParent issue landed, let's run some tests
Comment #5
kristiaanvandeneyndeOh, right... old patch won't apply obviously :D
Comment #7
kristiaanvandeneyndeCall to undefined method Prophecy\Prophecy\MethodProphecy::shouldBeCalledOnce(), uhm.. okay?Comment #8
kristiaanvandeneyndeTesbot issue: #3028372: Testbot seems to choke on Prophecy version.
Attached patch proves this works with older Prophecy versions
Comment #9
kristiaanvandeneyndeScrew it, moving ahead with ugly Prophecy code as committing the newer one will make all tests fail for all issues...