[Mahara-contributors] [Bug 1051495] Re: Warning when deleting default journal

2013-12-15 Thread Aaron Wells
** Changed in: mahara
Milestone: 1.8.1 = None

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

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Invalid

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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 1051495] Re: Warning when deleting default journal

2013-11-20 Thread Robert Lyon
The patch https://reviews.mahara.org/#/c/2082/ for bug #703980 will have
fixed this problem.

The $change for the if ($change) { } was only being set in some
situations. I made it so a default $change = false; was set up to
account for the times it wasn't been set by child if/else


** Changed in: mahara
   Status: Incomplete = Invalid

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

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Invalid

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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 1051495] Re: Warning when deleting default journal

2013-10-23 Thread Aaron Wells
** Changed in: mahara
Milestone: 1.8.0 = 1.8.1

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

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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 1051495] Re: Warning when deleting default journal

2013-10-21 Thread Aaron Wells
Couldn't replicate in 1.6.8

** Changed in: mahara
   Status: Triaged = Incomplete

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

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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 1051495] Re: Warning when deleting default journal

2013-09-30 Thread Aaron Wells
** Changed in: mahara
Milestone: 1.8rc1 = 1.8.0

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

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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 1051495] Re: Warning when deleting default journal

2013-04-18 Thread Aaron Wells
** Changed in: mahara
Milestone: 1.7.0 = 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1051495

Title:
  Warning when deleting default journal

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara 1.6dev latest code

  I have 2 journals with 1 entry each and wanted to delete the default
  journal. It is being deleted, but the following warning message is
  displayed:

  

  [WAR] 6c (blocktype/lib.php:1114) Undefined variable: change
  Call stack (most recent first):

  log_message(Undefined variable: change, 8, true, true, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, Undefined variable: change, 
/home/kristina/code/16stable/htdocs/blocktype/lib, 1114, array(size 5)) 
at /home/kristina/code/16stable/htdocs/blocktype/lib.php:1114
  BlockInstance::bulk_delete_artefacts(array(size 3)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:633
  ArtefactType::_delete_dbrecords(array(size 1)) at 
/home/kristina/code/16stable/htdocs/artefact/lib.php:504
  ArtefactType-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:177
  ArtefactTypeBlog-delete() at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:70
  delete_blog_submit(object(Pieform), array(size 3)) at Unknown:0
  call_user_func_array(delete_blog_submit, array(size 2)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:514
  Pieform-__construct(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 4)) at 
/home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at 
/home/kristina/code/16stable/htdocs/artefact/blog/lib.php:411
  ArtefactTypeBlog::delete_form(78) at 
/home/kristina/code/16stable/htdocs/artefact/blog/index.php:44

  -

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051495/+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