← Back to team overview

mahara-contributors team mailing list archive

[Bug 1620411] [NEW] Error message showing up when tried to share among the users

 

Public bug reported:

Version master 16.10
Happens in PHP server

Encountered the following error message:

[WAR] fb (view/access.php:415) Undefined index: startdate
Call stack (most recent first):

    log_message("Undefined index: startdate", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:513
    error(8, "Undefined index: startdate", "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415, array(size 10)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:415
    editaccess_validate(object(Pieform), array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:1449
    Pieform->validate(array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:521
    Pieform->__construct(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
    Pieform::process(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4728
    pieform(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:555


Steps to reproduce:


1) Login as a admin user or normal user

2) Navigate to portfolio>Shared by me ( make sure you have a profile
page in it )

3)Click on Edit Access ( key icon)

4)select share with users and select one user. Make sure you don't enter
from and to dates in it

5)Click on save


Result: Php code is displayed with some warning message.

** 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/1620411

Title:
  Error message showing up when tried to share among the users

Status in Mahara:
  New

Bug description:
  Version master 16.10
  Happens in PHP server

  Encountered the following error message:

  [WAR] fb (view/access.php:415) Undefined index: startdate
  Call stack (most recent first):

      log_message("Undefined index: startdate", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:513
      error(8, "Undefined index: startdate", "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415, array(size 10)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:415
      editaccess_validate(object(Pieform), array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:1449
      Pieform->validate(array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:521
      Pieform->__construct(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
      Pieform::process(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4728
      pieform(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:555

  
  Steps to reproduce:

  
  1) Login as a admin user or normal user

  2) Navigate to portfolio>Shared by me ( make sure you have a profile
  page in it )

  3)Click on Edit Access ( key icon)

  4)select share with users and select one user. Make sure you don't
  enter from and to dates in it

  5)Click on save

  
  Result: Php code is displayed with some warning message.

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


Follow ups