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 0e823f49a Fixed: jsgantt-improved bloks qs.js update (OFBIZ-13339)
0e823f49a is described below
commit 0e823f49a9c93cf1b940c8d4027f628e60aa96d0
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Jan 13 13:34:45 2026 +0100
Fixed: jsgantt-improved bloks qs.js update (OFBIZ-13339)
For this technical reason we are temporarily disabling the
projectmgr/control/ganttChart feature
---
projectmgr/template/project/GanttChart.ftl | 3 +++
projectmgr/webapp/projectmgr/static/projectmgr.js | 3 +++
projectmgr/widget/ProjectScreens.xml | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/projectmgr/template/project/GanttChart.ftl
b/projectmgr/template/project/GanttChart.ftl
index cb08a3697..2fc1929dd 100644
--- a/projectmgr/template/project/GanttChart.ftl
+++ b/projectmgr/template/project/GanttChart.ftl
@@ -22,5 +22,8 @@ under the License.
<input id="ofbizGantItemsJson" type="hidden" value="${phaseTaskListJson}"/>
+<#-- Commented out because qs.js has a transitive issue due to request.js. See
https://issues.apache.org/jira/browse/OFBIZ-13339 for details
<script type="text/javascript"
src="/projectmgr/node_modules/jsgantt-improved/dist/jsgantt.js"></script>
<script type="text/javascript" src="/projectmgr/static/projectmgr.js"></script>
+-->
+This has for now been Commented out because qs.js has a transitive issue due
to request.js. See https://issues.apache.org/jira/browse/OFBIZ-13339 for details
diff --git a/projectmgr/webapp/projectmgr/static/projectmgr.js
b/projectmgr/webapp/projectmgr/static/projectmgr.js
index f506ffd42..48090245e 100644
--- a/projectmgr/webapp/projectmgr/static/projectmgr.js
+++ b/projectmgr/webapp/projectmgr/static/projectmgr.js
@@ -17,6 +17,8 @@
* under the License.
*/
+/* - Commented out because qs.js has a transitive issue due to request.js. See
https://issues.apache.org/jira/browse/OFBIZ-13339 for details
+
const ganttItemsJson = document.getElementById("ofbizGantItemsJson").value;
const ganttItems = JSON.parse(ganttItemsJson);
@@ -38,3 +40,4 @@ for (t of ganttItems) {
}
g.Draw();
+*/
diff --git a/projectmgr/widget/ProjectScreens.xml
b/projectmgr/widget/ProjectScreens.xml
index 0ee555b9f..5a8f5d1bb 100644
--- a/projectmgr/widget/ProjectScreens.xml
+++ b/projectmgr/widget/ProjectScreens.xml
@@ -424,7 +424,9 @@ under the License.
<actions>
<set field="titleProperty" value="ProjectMgrGanttChart"/>
<set field="tabButtonItem" value="ganttchart"/>
+ <!-- Commented out because qs.js has a transitive issue due to
request.js. See https://issues.apache.org/jira/browse/OFBIZ-13339 for details
<set field="layoutSettings.styleSheets[]"
value="/projectmgr/node_modules/jsgantt-improved/dist/jsgantt.css"
global="true"/>
+ -->
<set field="layoutSettings.styleSheets[]"
value="/projectmgr/static/projectmgr.css" global="true"/>
<script
location="component://projectmgr/src/main/groovy/org/apache/ofbiz/projectmgr/GanttChart.groovy"/>
</actions>
@@ -980,7 +982,9 @@ under the License.
<section>
<actions>
<property-map resource="ProjectMgrUiLabels"
map-name="uiLabelMap" global="true"/>
+ <!-- - Commented out because qs.js has a transitive issue due
to request.js. See https://issues.apache.org/jira/browse/OFBIZ-13339 for details
<set field="layoutSettings.styleSheets[]"
value="/projectmgr/node_modules/jsgantt-improved/dist/jsgantt.css"
global="true"/>
+ -->
<set field="layoutSettings.styleSheets[]"
value="/projectmgr/static/projectmgr.css" global="true"/>
<entity-condition entity-name="WorkEffortPartyAssignByGroup"
list="projects" filter-by-date="true">
<condition-list combine="and">