Closed (fixed)
Project:
Content Planner
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2022 at 08:22 UTC
Updated:
16 May 2022 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ruturaj chaubeyComment #3
ruturaj chaubeyMoved the
KanbanService::getEntityIdsFromContentModerationEntitiesto a service incontent_plannermodule.This is the patch.
Comment #4
ruturaj chaubeyComment #5
dieterholvoet commentedDashboardKanbanService, the methods are not kanban related. I think something likeContentModerationServicewould be better.KanbanFilterForm)watchdog_exception('content_kanban', $e);should be changed towatchdog_exception('content_planner', $e);StringTranslationTraitrelated changes don't belong in this issueComment #6
ruturaj chaubeyCan you provide a little more clarity regarding the second point ?
Comment #7
dieterholvoet commentedYou should move the methods, not just copy them. Any other places using the method you moved should use the new service instead of the old one.
Comment #8
ruturaj chaubeyComment #9
ruturaj chaubeyMade the following changes in the patch
kanban-service-to-content-planner-3271149-9.patch:DashboardKanbanServicetoContentModerationService.KanbanServiceand changed the old usages to the new service inKanbanFilterForm.watchdog_exception('content_kanban', $e);changed towatchdog_exception('content_planner', $e);StringTranslationTraitrelated changes removed.Comment #10
ruturaj chaubeyComment #11
dieterholvoet commentedWorks great! Thanks for the help.
Comment #12
dieterholvoet commentedThe last patch was deleting a file that didn't exist.
Comment #13
dieterholvoet commented