This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push: new 9db1ca691 Fixed: Makes Forum Articles respond to pagination controls (OFBIZ-11434) (#76) 9db1ca691 is described below commit 9db1ca691fc7e962e40056c15ebb0c3728d24421 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Mon Mar 27 11:38:08 2023 +0200 Fixed: Makes Forum Articles respond to pagination controls (OFBIZ-11434) (#76) Definitely fixes a checkstyle issue (was not awake before and the plugins branch has not safeguard like the framework, I mean the Git pre-push hook ) --- .../src/main/java/org/apache/ofbiz/ecommerce/forum/ForumEvents.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/forum/ForumEvents.java b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/forum/ForumEvents.java index 6d5b549b3..7285ce0f5 100644 --- a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/forum/ForumEvents.java +++ b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/forum/ForumEvents.java @@ -59,7 +59,7 @@ public class ForumEvents { articlesFound = dispatcher.runSync("performFind", UtilMisc.<String, Object>toMap("entityName", "ContentAssocViewTo", "inputFields", inputFields, "userLogin", userLogin, "orderBy", "-createdDate")); } catch (GenericServiceException e) { - Debug.logError(e, "Cannot get ForumMessages for Forum %s", module, forumId); + Debug.logError(e, "Cannot get ForumMessages for Forum %s", MODULE, forumId); return ServiceUtil.returnError("Error while searching for Messages, please retry and/or contact Admin."); } int start = viewIndex * viewSize; @@ -69,7 +69,7 @@ public class ForumEvents { list = it.getPartialList(start + 1, viewSize); // list starts at '1' listSize = it.getResultsSizeAfterPartialList(); } catch (ClassCastException | NullPointerException | GenericEntityException e) { - Debug.logInfo("Problem getting partial list" + e, module); + Debug.logInfo("Problem getting partial list" + e, MODULE); } // create the result map