Bug #6529

Empty notification after configuring wiki homepage (not a translation error)
Start date:
09/08/2013
Due date:
% Done:
0%
Estimated time:
Complexity:
Normal
Description
After setting a wikipage as the home page, an empty notifiction appears. This is not due to a lacking translation (it would show [CDA] tags otherwise)
Files
History
Updated by Anonymous over 9 years ago
resolved (needs check)
add translation request for 'HomepageSelected' file 8repository/content_object/wiki/php/lib/complex_display/component/wiki_homepage_setter.class.php*.
However: there is no test for success of failure of the homepage setting, this seems incorrect.
in the run() method (line 20) redirect is now:
if (! empty($page)) { $page->set_is_homepage(true); $page->update(); $this->redirect(Translation :: get ('HomepageSelected'), false, array(WikiComplexDisplay :: PARAM_DISPLAY_ACTION => WikiComplexDisplay :: ACTION_VIEW_WIKI, 'pid' => Request :: get('pid'))); } else { $this->redirect(Translation :: get ('HomepageNotSelected'), true, array(WikiComplexDisplay :: PARAM_DISPLAY_ACTION => WikiComplexDisplay :: ACTION_BROWSE_WIKI)); }
Updated by Anonymous over 9 years ago
- Status changed from New to Bug resolved
- Target version set to LCMS 4 Beta