Page 1 of 1

Daily Snapshot breaks Styleswitcher-Module

Posted: Mon Feb 27, 2006 3:24 pm
by LeisureLarry
Tested with the last daily snapshot there are problems with the above module.

If I change the style all parameters are missing behind the url on my local xampp-installation.

I don´t know whether this is wanted or a problem, simply wanted to tell it.

Greats LeisureLarry

Re: Daily Snapshot breaks Styleswitcher-Module

Posted: Tue Feb 28, 2006 8:03 pm
by LeisureLarry
Hmm it broke after beta-2. I´ll test the next days with another daily snapshot. If the problem still exists, it would be nice to make a bug report. But first I´ll do some more tests.

Greats LeisureLarry

Re: Daily Snapshot breaks Styleswitcher-Module

Posted: Wed Mar 01, 2006 12:25 pm
by LeisureLarry
Tested today with the daily snapshot. Problem still occurs. Must be dependent on the changes of the last ten days. Because with the daily snapshot before it works like a charm.

Would be nice, if you open a bug report.

Greats LeisureLarry

Re: Daily Snapshot breaks Styleswitcher-Module

Posted: Wed Mar 01, 2006 3:15 pm
by calguy1000
I noticed yesterday, that the "action" param was removed from the $params array
so I did this inside of DoAction to work around it:

if( !isset( $params['action'] ) )
{
  $params['action'] = $action
}

That helped feusers a fair bit

Also, check any place where forms are constructed manually, and replace them with the appropriate $this->CreateFormStart(...) stuff, as the form stuff has changed considerably.

Unforunately, any module that doesn't use the module api completely may be broken with the latest stuff.