Sadly, the view page is failing to deal with themes that have an
underscore in their name, confusing underscores in the theme name with
the underscores that get passed in as the action parameters for the view
editor, e.g. action_configure_blockinstance_id_919,
action_moveblockinstance_id_917_column_1_order_2

This is the relevant bit in the error log:

[WAR] 3e (lib/view.php:1034) Invalid view control action: 
theme_thistley_default, referer: 
http://mahara.thistleyhough.org.uk/view/blocks.php?profile=1
Call stack (most recent first):, referer: 
http://mahara.thistleyhough.org.uk/view/blocks.php?profile=1
  * View::get_values_for_action("theme_thistley_default") at 
/var/www/mahara/lib/view.php:946, referer: 
http://mahara.thistleyhough.org.uk/view/blocks.php?profile=1
  * View->process_changes("blog", false) at 
/var/www/mahara/view/blocks.php:131, referer: 
http://mahara.thistleyhough.org.uk/view/blocks.php?profile=1


** Changed in: mahara
       Status: New => Fix Committed

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

** Changed in: mahara
     Assignee: (unassigned) => Richard Mansfield (richard-mansfield)

** Changed in: mahara
    Milestone: None => 1.3.2

-- 
Setecting a custom Theme for View causes error
https://bugs.launchpad.net/bugs/641718
You received this bug notification because you are a member of Mahara
Committers, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Committed

Bug description:
After upgrading to mahara 1.3 I noticed that I was able to select a view 
specific theme. Before making the selection the custom theme worked fine (I had 
to make some changes for our theme to be compatible with the new code) but if I 
select that theme for a view I get the following page:

ePortfolio: Site unavailable
A nonrecoverable error occured. This probably means you have encountered a bug 
in the system 

I can select any of the other default theme without any error and the only way 
to get back to the custom theme (system default) is to go into the database and 
set the theme value for that view to NULL. 

I thought may it was something to do with my theme so I tried duplicating the 
Default theme (apart from the themeconfig.php file) but it's still producing 
the same error.


Mahara version 1.3.0 (2010083102)
OS: Linux 2.6.32-5-xen-amd64
Mysql: 5.1.49 
PHP: 5.3.2-2
Browser: Firefox 3.6.3 or IE8



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

Reply via email to