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-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new cf2f0b3 Fixed: Status change button on Invoice screen is not working (OFBIZ-12248)
cf2f0b3 is described below
commit cf2f0b378cced9b88f7140e9ecd30847309f150b
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Thu Jun 3 11:53:59 2021 +0200
Fixed: Status change button on Invoice screen is not working (OFBIZ-12248)
Steps:
1. Open URL
https://demo-trunk.ofbiz.apache.org/accounting/control/findInvoices 2. View any invoice from the list say [invoice# : 8010]
3. Change the status to Ready / Cancelled
Expected:
Status should be marked to Ready for Posting or Cancelled
Actual Result
The loader is visible but nothing happens
Thanks: Nameet Jain
---
.../java/org/apache/ofbiz/widget/renderer/macro/MacroMenuRenderer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/MacroMenuRenderer.java b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/MacroMenuRenderer.java
index 264c836..9613dae 100644
--- a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/MacroMenuRenderer.java
+++ b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/MacroMenuRenderer.java
@@ -262,7 +262,7 @@ public class MacroMenuRenderer implements MenuStringRenderer {
if (targetParameters.length() == 0) {
targetParameters.append("\"\"");
}
- if (UtilValidate.isNotEmpty(target)) {
+ if (UtilValidate.isNotEmpty(target) && !"hidden-form".equals(linkType)) {
linkUrl = MacroCommonRenderer.getLinkUrl(link.getLink(), context);
}
parameters.put("linkUrl", linkUrl);