[Mahara-contributors] [Bug 1647885] A patch has been submitted for review

2016-12-06 Thread Mahara Bot
Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7300

-- 
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/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647885] Re: Not all file types and mime types get populated on install/upgrade

2016-12-06 Thread Ghada El-Zoghbi
** Changed in: mahara
 Assignee: (unassigned) => Dmitrii Metelkin (dmitriim)

-- 
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/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1122602] A patch has been submitted for review

2016-12-06 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/7299

-- 
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/1122602

Title:
  Warnings when adding a site image file into a group view

Status in Mahara:
  In Progress

Bug description:
  Version: master
  Platform: all
  Browser: FF and Chrome

  Steps for issue the warnings

  1. Login as a group admin or member
  2. Edit a group page
  3. Add image bloctype
  4. In the configure box, select a site image in Site files tab, Click Save 
and then Done

  The warnings:
  [WAR] 9f (artefact/file/lib.php:471) Undefined property: stdClass::$author
  Call stack (most recent first):

  log_message("Undefined property: stdClass::$author", 8, true, true, 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
  error(8, "Undefined property: stdClass::$author", 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471, array(size 14)) 
at /home/sonn/code/mahara/htdocs/artefact/file/lib.php:471
  ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/sonn/code/mahara/htdocs/artefact/file/form/elements/filebrowser.php:142
  pieform_element_filebrowser(object(Pieform), array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
  Pieform->build_element_html(array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:899
  Pieform->json_reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:866
  Pieform->reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:588
  BlockInstance->instance_config_store(object(Pieform), array(size 10)) at 
Unknown:0
  call_user_func_array(array(size 2), array(size 2)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:514
  Pieform->__construct(array(size 15)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:872
  BlockInstance->build_configure_form() at 
/home/sonn/code/mahara/htdocs/view/blocks.php:87

  ...

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647885] A patch has been submitted for review

2016-12-06 Thread Mahara Bot
Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7298

-- 
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/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1122602] Re: Warnings when adding a site image file into a group view

2016-12-06 Thread Cecilia Vela Gurovic
To replicate:

- Login as site admin user
- add an image file to site files, but outside public folder
- go to a group page and edit
- add an image block and choose the image
- Save

you should see the errors

- in same page add a block Media/Files to download
- select same image from Site files
- Save

should see the errors

-- 
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/1122602

Title:
  Warnings when adding a site image file into a group view

Status in Mahara:
  In Progress

Bug description:
  Version: master
  Platform: all
  Browser: FF and Chrome

  Steps for issue the warnings

  1. Login as a group admin or member
  2. Edit a group page
  3. Add image bloctype
  4. In the configure box, select a site image in Site files tab, Click Save 
and then Done

  The warnings:
  [WAR] 9f (artefact/file/lib.php:471) Undefined property: stdClass::$author
  Call stack (most recent first):

  log_message("Undefined property: stdClass::$author", 8, true, true, 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
  error(8, "Undefined property: stdClass::$author", 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471, array(size 14)) 
at /home/sonn/code/mahara/htdocs/artefact/file/lib.php:471
  ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/sonn/code/mahara/htdocs/artefact/file/form/elements/filebrowser.php:142
  pieform_element_filebrowser(object(Pieform), array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
  Pieform->build_element_html(array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:899
  Pieform->json_reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:866
  Pieform->reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:588
  BlockInstance->instance_config_store(object(Pieform), array(size 10)) at 
Unknown:0
  call_user_func_array(array(size 2), array(size 2)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:514
  Pieform->__construct(array(size 15)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:872
  BlockInstance->build_configure_form() at 
/home/sonn/code/mahara/htdocs/view/blocks.php:87

  ...

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647885] [NEW] Not all file types and mime types get populated on install/upgrade

2016-12-06 Thread Dmitrii Metelkin
Public bug reported:

Please include (if relevant) in your bug report:
- exact version of Mahara: 16.10_STABLE
- operating system: Linux
- database: Postgres

Steps to replicate:

1. Install a fresh mahara.
2. Execute following SQL on DB
SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

Expected result:
 mimetype  | description 
---+-
 video/mp4 | m4a
 video/mp4 | m4b
 video/mp4 | m4p
 video/mp4 | m4r
 video/mp4 | m4v
 video/mp4 | mp4
(6 rows)


Actual result:
 mimetype  | description 
---+-
 video/mp4 | m4v

(1 rows)

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
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/1647885

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1646628] Re: Importing Leap2A file throws an error

2016-12-06 Thread Niranjan
My mistake. checked out on different bug and when checkoed out with
master branch it looks fine

-- 
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/1646628

Title:
  Importing Leap2A file throws an error

Status in Mahara:
  Incomplete

Bug description:
  Version : 17:04
  Browser : FF

  While testing this bug https://bugs.launchpad.net/mahara/+bug/1632913
  I came across another, here it is

  Steps to reproduce:

  1) Create a page and add few comments to the page
  2) Now Export it as a Leap2A file
  3) Login as another user 
  4) Now try to import the file that has been exported earlier at step 2 

  Result: The page gets imported but it displays few warning messages as
  below

  [WAR] 4a (artefact/annotation/import/leap/lib.php:0) Declaration of
  LeapImportAnnotation::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer) should be compatible with
  LeapImportArtefactPlugin::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer, $strategy, array $otherentries)

  Call stack (most recent first):

  log_message("Declaration of LeapImportAnnotation::setup_view_re...", 8, 
true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0) at 
/home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
  error(2, "Declaration of LeapImportAnnotation::setup_view_re...", 
"/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0, array(size 10)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  require_once() at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  safe_require("import", "leap/annotation", "lib.php", "require_once", 
true) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:440
  PluginImportLeap->create_strategy_listing() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:153
  PluginImportLeap->build_default_load_mapping() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:169
  PluginImportLeap->process(1) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:243
  import_submit(object(Pieform), array(size 3)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
  Pieform->__construct(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
  pieform(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:167
  print_upload_form() at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:61

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1646628] Re: Importing Leap2A file throws an error

2016-12-06 Thread Niranjan
** Attachment removed: 
"mahara-export-leap-user10-2016-12-02_10-47_vJ6lwnmPiZBskKSf.zip"
   
https://bugs.launchpad.net/mahara/+bug/1646628/+attachment/4788298/+files/mahara-export-leap-user10-2016-12-02_10-47_vJ6lwnmPiZBskKSf.zip

** Attachment added: 
"mahara-export-leap-user10-2016-12-07_12-04_yS8NzJ2XcEYhvuUW.zip"
   
https://bugs.launchpad.net/mahara/+bug/1646628/+attachment/4788329/+files/mahara-export-leap-user10-2016-12-07_12-04_yS8NzJ2XcEYhvuUW.zip

-- 
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/1646628

Title:
  Importing Leap2A file throws an error

Status in Mahara:
  Incomplete

Bug description:
  Version : 17:04
  Browser : FF

  While testing this bug https://bugs.launchpad.net/mahara/+bug/1632913
  I came across another, here it is

  Steps to reproduce:

  1) Create a page and add few comments to the page
  2) Now Export it as a Leap2A file
  3) Login as another user 
  4) Now try to import the file that has been exported earlier at step 2 

  Result: The page gets imported but it displays few warning messages as
  below

  [WAR] 4a (artefact/annotation/import/leap/lib.php:0) Declaration of
  LeapImportAnnotation::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer) should be compatible with
  LeapImportArtefactPlugin::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer, $strategy, array $otherentries)

  Call stack (most recent first):

  log_message("Declaration of LeapImportAnnotation::setup_view_re...", 8, 
true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0) at 
/home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
  error(2, "Declaration of LeapImportAnnotation::setup_view_re...", 
"/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0, array(size 10)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  require_once() at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  safe_require("import", "leap/annotation", "lib.php", "require_once", 
true) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:440
  PluginImportLeap->create_strategy_listing() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:153
  PluginImportLeap->build_default_load_mapping() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:169
  PluginImportLeap->process(1) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:243
  import_submit(object(Pieform), array(size 3)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
  Pieform->__construct(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
  pieform(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:167
  print_upload_form() at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:61

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647856] Re: Update submission release language string for more clarity

2016-12-06 Thread Kristina Hoeppner
Sanjay is going to look into changing this (doesn't have an account
yet).

** Summary changed:

- Update submission release language string fro more clarity
+ Update submission release language string for more clarity

-- 
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/1647856

Title:
  Update submission release language string for more clarity

Status in Mahara:
  Confirmed

Bug description:
  The submission notification includes information on who released a
  portfolio in a group. The string should make it clearer what the
  individual %s are referring to in order to avoid confusion for
  translators.

  The string in question: Your collection "%s" has been released from %s
  by %s

  Change to: Your collection "%s" has been released from the group "%s"
  by %s

  So that the German translation can be made more clearer:
  Currently: Ihre Sammlung "%s" wurde von %s (%s) freigegeben

  To: Ihre Sammlung "%s" wurde in der Grupp "%s" von "%s" freigegeben

  We'll also need to change the string for the regular portfolio page.

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1122602] Re: Warnings when adding a site image file into a group view

2016-12-06 Thread Cecilia Vela Gurovic
* When adding a site image in image block on the group page I get
different errors, now:

[WAR] 3e (artefact/file/lib.php:682) Undefined property: stdClass::$can_edit
Call stack (most recent first):

log_message("Undefined property: stdClass::$can_edit", 8, true, true, 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 682) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
error(8, "Undefined property: stdClass::$can_edit", 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 682, array(size 16)) 
at /home/ceciliavg/maharacode/mahara/htdocs/artefact/file/lib.php:682
ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/form/elements/filebrowser.php:159
pieform_element_filebrowser(object(Pieform), array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:1503
Pieform->build_element_html(array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:721
Pieform->build() at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:976
Pieform->json_reply(0array(size 8)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:943
Pieform->reply(0array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/blocktype/lib.php:851
BlockInstance->instance_config_store(object(Pieform), array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 15)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/mahara.php:4789
pieform_instance(array(size 15)) at 
/home/ceciliavg/maharacode/mahara/htdocs/blocktype/lib.php:1219
BlockInstance->build_configure_form(true) at 
/home/ceciliavg/maharacode/mahara/htdocs/view/blocks.php:72

[WAR] 3e (artefact/file/lib.php:683) Undefined property: stdClass::$can_view
Call stack (most recent first):

log_message("Undefined property: stdClass::$can_view", 8, true, true, 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 683) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
error(8, "Undefined property: stdClass::$can_view", 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 683, array(size 16)) 
at /home/ceciliavg/maharacode/mahara/htdocs/artefact/file/lib.php:683
ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/form/elements/filebrowser.php:159
pieform_element_filebrowser(object(Pieform), array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:1503
Pieform->build_element_html(array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:721
Pieform->build() at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:976
Pieform->json_reply(0array(size 8)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:943
Pieform->reply(0array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/blocktype/lib.php:851
BlockInstance->instance_config_store(object(Pieform), array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 15)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/mahara.php:4789
pieform_instance(array(size 15)) at 
/home/ceciliavg/maharacode/mahara/htdocs/blocktype/lib.php:1219
BlockInstance->build_configure_form(true) at 
/home/ceciliavg/maharacode/mahara/htdocs/view/blocks.php:72

[WAR] 3e (artefact/file/lib.php:684) Undefined property: 
stdClass::$can_republish
Call stack (most recent first):

log_message("Undefined property: stdClass::$can_republish", 8, true, true, 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 684) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
error(8, "Undefined property: stdClass::$can_republish", 
"/home/ceciliavg/maharacode/mahara/htdocs/artefact/...", 684, array(size 16)) 
at /home/ceciliavg/maharacode/mahara/htdocs/artefact/file/lib.php:684
ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/form/elements/filebrowser.php:159
pieform_element_filebrowser(object(Pieform), array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:1503
Pieform->build_element_html(array(size 17)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:721
Pieform->build() at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:976
Pieform->json_reply(0array(size 8)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:943
Pieform->reply(0array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/blocktype/lib.php:851
BlockInstance->instance_config_store(object(Pieform), array(size 7)) at 
/home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 15)) at

[Mahara-contributors] [Bug 1122602] Re: Warnings when adding a site image file into a group view

2016-12-06 Thread Cecilia Vela Gurovic
** Changed in: mahara
 Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)

** Changed in: mahara
   Status: Triaged => In Progress

-- 
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/1122602

Title:
  Warnings when adding a site image file into a group view

Status in Mahara:
  In Progress

Bug description:
  Version: master
  Platform: all
  Browser: FF and Chrome

  Steps for issue the warnings

  1. Login as a group admin or member
  2. Edit a group page
  3. Add image bloctype
  4. In the configure box, select a site image in Site files tab, Click Save 
and then Done

  The warnings:
  [WAR] 9f (artefact/file/lib.php:471) Undefined property: stdClass::$author
  Call stack (most recent first):

  log_message("Undefined property: stdClass::$author", 8, true, true, 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
  error(8, "Undefined property: stdClass::$author", 
"/home/sonn/code/mahara/htdocs/artefact/file/lib.ph...", 471, array(size 14)) 
at /home/sonn/code/mahara/htdocs/artefact/file/lib.php:471
  ArtefactTypeFileBase::get_my_files_data(0null, "1", "mahara", array(size 
1)) at 
/home/sonn/code/mahara/htdocs/artefact/file/form/elements/filebrowser.php:142
  pieform_element_filebrowser(object(Pieform), array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
  Pieform->build_element_html(array(size 16)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:899
  Pieform->json_reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:866
  Pieform->reply(0array(size 7)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:588
  BlockInstance->instance_config_store(object(Pieform), array(size 10)) at 
Unknown:0
  call_user_func_array(array(size 2), array(size 2)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:514
  Pieform->__construct(array(size 15)) at 
/home/sonn/code/mahara/htdocs/blocktype/lib.php:872
  BlockInstance->build_configure_form() at 
/home/sonn/code/mahara/htdocs/view/blocks.php:87

  ...

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1647856] [NEW] Update submission release language string fro more clarity

2016-12-06 Thread Kristina Hoeppner
Public bug reported:

The submission notification includes information on who released a
portfolio in a group. The string should make it clearer what the
individual %s are referring to in order to avoid confusion for
translators.

The string in question: Your collection "%s" has been released from %s
by %s

Change to: Your collection "%s" has been released from the group "%s" by
%s

So that the German translation can be made more clearer:
Currently: Ihre Sammlung "%s" wurde von %s (%s) freigegeben

To: Ihre Sammlung "%s" wurde in der Grupp "%s" von "%s" freigegeben

We'll also need to change the string for the regular portfolio page.

** Affects: mahara
 Importance: Low
 Status: Confirmed


** Tags: bite-sized

** Tags added: bite-sized

-- 
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/1647856

Title:
  Update submission release language string fro more clarity

Status in Mahara:
  Confirmed

Bug description:
  The submission notification includes information on who released a
  portfolio in a group. The string should make it clearer what the
  individual %s are referring to in order to avoid confusion for
  translators.

  The string in question: Your collection "%s" has been released from %s
  by %s

  Change to: Your collection "%s" has been released from the group "%s"
  by %s

  So that the German translation can be made more clearer:
  Currently: Ihre Sammlung "%s" wurde von %s (%s) freigegeben

  To: Ihre Sammlung "%s" wurde in der Grupp "%s" von "%s" freigegeben

  We'll also need to change the string for the regular portfolio page.

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1646628] Re: Importing Leap2A file throws an error

2016-12-06 Thread Niranjan
Please find it attahced Kristina

** Attachment added: 
"mahara-export-leap-user10-2016-12-02_10-47_vJ6lwnmPiZBskKSf.zip"
   
https://bugs.launchpad.net/mahara/+bug/1646628/+attachment/4788298/+files/mahara-export-leap-user10-2016-12-02_10-47_vJ6lwnmPiZBskKSf.zip

-- 
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/1646628

Title:
  Importing Leap2A file throws an error

Status in Mahara:
  Incomplete

Bug description:
  Version : 17:04
  Browser : FF

  While testing this bug https://bugs.launchpad.net/mahara/+bug/1632913
  I came across another, here it is

  Steps to reproduce:

  1) Create a page and add few comments to the page
  2) Now Export it as a Leap2A file
  3) Login as another user 
  4) Now try to import the file that has been exported earlier at step 2 

  Result: The page gets imported but it displays few warning messages as
  below

  [WAR] 4a (artefact/annotation/import/leap/lib.php:0) Declaration of
  LeapImportAnnotation::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer) should be compatible with
  LeapImportArtefactPlugin::setup_view_relationships(SimpleXMLElement
  $entry, PluginImportLeap $importer, $strategy, array $otherentries)

  Call stack (most recent first):

  log_message("Declaration of LeapImportAnnotation::setup_view_re...", 8, 
true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0) at 
/home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
  error(2, "Declaration of LeapImportAnnotation::setup_view_re...", 
"/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0, array(size 10)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  require_once() at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
  safe_require("import", "leap/annotation", "lib.php", "require_once", 
true) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:440
  PluginImportLeap->create_strategy_listing() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:153
  PluginImportLeap->build_default_load_mapping() at 
/home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:169
  PluginImportLeap->process(1) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:243
  import_submit(object(Pieform), array(size 3)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
  Pieform->__construct(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
  pieform(array(size 5)) at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:167
  print_upload_form() at 
/home/niranjanbandi/code/mahara/htdocs/import/index.php:61

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1646251] Re: Record in database which user released a submission

2016-12-06 Thread Kristina Hoeppner
And also mention who released the portfolio in the notification that
goes out after the release.

** Changed in: mahara
   Status: New => Confirmed

-- 
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/1646251

Title:
  Record in database which user released a submission

Status in Mahara:
  Confirmed

Bug description:
  Currently when a submission is released it doesn't record which user
  did it and when

  It would be good to have a table contain at least this info:

  collection | view | submitted | released | submitter | releaser

  Where the submitter / releaser are the user pushing the buttons

  So that we could have something like

  collection | view | submitted   | released| submitter | 
releaser
  
---+--+-+-+---+
  7  | 23   | 2016-10-04 12:37:55 | 2016-10-06 12:37:55 | 12| 15
  7  | 24   | 2016-10-04 12:37:55 | 2016-10-06 12:37:55 | 12| 15
  7  | 25   | 2016-10-04 12:37:55 | 2016-10-06 12:37:55 | 12| 15
  7  | 23   | 2016-10-07 11:22:11 | | 15|
  7  | 24   | 2016-10-07 11:22:11 | | 15|
  7  | 25   | 2016-10-07 11:22:11 | | 15|

  So if an admin is masquerading as a user they have their ID recorded rather 
than the user's one
  so we know exactly who was playing with what

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp