← Back to team overview

mahara-contributors team mailing list archive

[Bug 1305278] [NEW] viewskin access error when editing skin

 

Public bug reported:

When an admin user creates a site skin in Administration -> configure
site -> Skins that same skin appears in their personal skin collection
in Portfolio -> Skins. When they try to edit it there they get this
error:

WAR] 68 (lib/pieforms/pieform.php:1265) Invalid value for select "viewskin_access"
Call stack (most recent first):

    log_message("Invalid value for select "viewskin_access"", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1265) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
    error(1024, "Invalid value for select "viewskin_access"", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1265, array(size 2)) at Unknown:0
    trigger_error("Invalid value for select "viewskin_access"", 1024) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:1265
    Pieform::info("Invalid value for select "viewskin_access"") at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform/elements/select.php:102
    pieform_element_select(object(Pieform), array(size 10)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:1431
    Pieform->build_element_html(array(size 10)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:671
    Pieform->build() at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:163
    Pieform::process(array(size 9)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:71
    pieform(array(size 9)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/skin/design.php:572

** Affects: mahara
     Importance: High
         Status: New

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
    Milestone: None => 1.10.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/1305278

Title:
  viewskin access error when editing skin

Status in Mahara ePortfolio:
  New

Bug description:
  When an admin user creates a site skin in Administration -> configure
  site -> Skins that same skin appears in their personal skin collection
  in Portfolio -> Skins. When they try to edit it there they get this
  error:

  WAR] 68 (lib/pieforms/pieform.php:1265) Invalid value for select "viewskin_access"
  Call stack (most recent first):

      log_message("Invalid value for select "viewskin_access"", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1265) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
      error(1024, "Invalid value for select "viewskin_access"", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1265, array(size 2)) at Unknown:0
      trigger_error("Invalid value for select "viewskin_access"", 1024) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:1265
      Pieform::info("Invalid value for select "viewskin_access"") at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform/elements/select.php:102
      pieform_element_select(object(Pieform), array(size 10)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:1431
      Pieform->build_element_html(array(size 10)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:671
      Pieform->build() at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:163
      Pieform::process(array(size 9)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 9)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/skin/design.php:572

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


Follow ups

References