[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1821-g6452534

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun May 14 19:53:54 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  6452534346dba439730a5b70a01074df06bf863f (commit)
      from  f9353f0cf559af39640fcd84e6bff2c9231e284f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6452534346dba439730a5b70a01074df06bf863f

commit 6452534346dba439730a5b70a01074df06bf863f
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun May 14 19:53:33 2017 +0200

    forge cli: fix artifact layout import.

diff --git a/src/bin/forge b/src/bin/forge
index f82c9ac..bc6d406 100755
--- a/src/bin/forge
+++ b/src/bin/forge
@@ -775,12 +775,12 @@ class CliActions {
 				$lm = new WidgetLayoutManager();
 				// remap the extrafield ids with the new ones if any
 				$artifact_layout = $stream['setup']['use_tracker_widget_display'];
-				foreach ($artifact_layout['rows'] as $row) {
-					foreach($row['columns'] as $column) {
-						foreach ($column['contents'] as $nwidget) {
+				foreach ($artifact_layout['rows'] as &$row) {
+					foreach($row['columns'] as &$column) {
+						foreach ($column['contents'] as &$nwidget) {
 							if ($nwidget['content']['id'] == 'trackercontent') {
-								foreach ($nwidget['content']['layoutExtraFieldIDs'] as $efrkey => $efrow) {
-									foreach ($efrow as $efckey => $efcol) {
+								foreach ($nwidget['content']['layoutExtraFieldIDs'] as $efrkey => &$efrow) {
+									foreach ($efrow as &$efcol) {
 										$key = key($efcol);
 										$nkey = $this->getMappingId($key, 'extrafield');
 										if ($nkey != $key) {

-----------------------------------------------------------------------

Summary of changes:
 src/bin/forge | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list