** Attachment added: "Exported Portfolio"
   
https://bugs.launchpad.net/mahara/+bug/1715288/+attachment/4945122/+files/mahara-export-leap-user3-2017-09-06_02-21_d7DKApxu6l98oBra.zip

** Description changed:

  Hello,
  
  I'm using Mahara 16.10 in my Centos server using PHP 5.6.30. I
  encountered a bug while I'm importing Portfolio which I created using
- custom layout (6 rows 1 column). I suspect this error occurred because
- of log below :
+ custom layout (6 rows 1 column) and I also attach some files inside the
+ portfolio. I suspect the error occurred because of log below :
  
  [WAR] ff (lib/errors.php:859) Failed to get a recordset: mysqli error: [1452: 
Cannot add or update a child row: a foreign key constraint fails 
("mahoodle"."view_rows_columns", CONSTRAINT "viewrowscolu_vie_fk" FOREIGN KEY 
("view") REFERENCES "view" ("id"))] in EXECUTE("INSERT INTO "view_rows_columns" 
("row", "columns") VALUES (1, 3)"), referer: 
http://elearning.telkomuniversity.ac.id/mahara/import/index.php
  [Wed Sep 06 10:14:36 2017] [error] [client 10.40.1.46] [WAR] ff 
(lib/errors.php:859) Command was: INSERT INTO "view_rows_columns" ("row", 
"columns") VALUES (?, ?) and values was (row:1,columns:3), referer: 
http://elearning.telkomuniversity.ac.id/mahara/import/index.php
  
- This isn't happening if I'm using default layout (3rows 1 column) and re
- import my exported portfolio.
+ This isn't happening in my older version mahara (15.10).
  
  Thank you.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1715288

Title:
  Failed to Import Custom Layout Porfolio

Status in Mahara:
  New

Bug description:
  Hello,

  I'm using Mahara 16.10 in my Centos server using PHP 5.6.30. I
  encountered a bug while I'm importing Portfolio which I created using
  custom layout (6 rows 1 column) and I also attach some files inside
  the portfolio. I suspect the error occurred because of log below :

  [WAR] ff (lib/errors.php:859) Failed to get a recordset: mysqli error: [1452: 
Cannot add or update a child row: a foreign key constraint fails 
("mahoodle"."view_rows_columns", CONSTRAINT "viewrowscolu_vie_fk" FOREIGN KEY 
("view") REFERENCES "view" ("id"))] in EXECUTE("INSERT INTO "view_rows_columns" 
("row", "columns") VALUES (1, 3)"), referer: 
http://elearning.telkomuniversity.ac.id/mahara/import/index.php
  [Wed Sep 06 10:14:36 2017] [error] [client 10.40.1.46] [WAR] ff 
(lib/errors.php:859) Command was: INSERT INTO "view_rows_columns" ("row", 
"columns") VALUES (?, ?) and values was (row:1,columns:3), referer: 
http://elearning.telkomuniversity.ac.id/mahara/import/index.php

  This isn't happening in my older version mahara (15.10).

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1715288/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to