This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git

commit ddebed1dc971ea6713b205e1260ecf6e1445704b
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

Reply via email to