[prev in list] [next in list] [prev in thread] [next in thread]
List: mtos-dev
Subject: Re: [MTOS-dev] I think there's a serious bug in MT::Plugin in 4.34
From: Mike T <mikerthomsen () gmail ! com>
Date: 2010-03-10 11:13:17
Message-ID: 22bb517f1003100313v582698dao477556c0d4d097c () mail ! gmail ! com
[Download RAW message or body]
Dave,
Scratch that for now. I just reverted back to 4.34 and the behavior is
fixed. It must have been an issue caused by a bad upgrade on my part.
If the behavior comes back, I'll let you know.
On Wed, Mar 10, 2010 at 12:46 AM, Dave Aiello <daiello@sixapart.com> wrote:
> Mike:
>
> I have been looking at the problem you reported for some time, and I have a \
> question. I posted it to the FogBugz case, but I will copy it here so that the \
> Community can see it without any effort:
> You say that "$plugin->get_config_value($setting, "blog:$blog_id");" will only \
> return the value set as the default in the plugin's config.yaml file.
> I take this to mean that I cannot set the "Rebuild Indexes" configuration value in \
> ActionStreams 2.1 to any value other than zero, which is contained in the \
> config.yaml file (see below):
> name: Action Streams
> id: ActionStreams
> key: ActionStreams
> author_link: http://www.sixapart.com/
> author_name: Six Apart Ltd.
> description: <MT_TRANS phrase="Manages authors' accounts and actions on sites \
> elsewhere around the web">
> schema_version: 16
> version: 2.1
> plugin_link: http://www.sixapart.com/
> settings:
> rebuild_for_action_stream_events:
> Default: 0
> Scope: blog
> ....
>
> On my localhost instance of MT 4.34, I can change the value of "Rebuild Indexes" / \
> rebuild_for_action_stream_events in the browser, save that value, come back and \
> look at it again, and the configuration value stays as whatever I chose it to be.
> The same thing happens if I quit my browser, restart it, login to my localhost \
> instance, and bring up the ActionStreams plugin settings page.
> Am I right about this or am I completely missing your point?
>
> Dave Aiello
> Developer
> Six Apart Services
> http://www.sixapart.com/services/
>
>
> On Mar 9, 2010, at 7:50 PM, Mike T wrote:
>
> > http://bugs.movabletype.org/default.asp?103732
> >
> > On one of my plugins, after upgrading to 4.34, I noticed that it was
> > no longer reading the actual value specific by the user for the
> > setting, but was only returning the default value from the config.yaml
> > file. After reverting back to 4.32, it works as expected.
> > _______________________________________________
> > MTOS-dev mailing list
> > MTOS-dev@sixapart.com
> > http://www.sixapart.com/mailman/listinfo/mtos-dev
>
>
_______________________________________________
MTOS-dev mailing list
MTOS-dev@sixapart.com
http://www.sixapart.com/mailman/listinfo/mtos-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic