You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Allen Gilliland <Al...@Sun.COM> on 2005/10/31 18:18:25 UTC

Re: ROL-869: Weblog settings page throws exception on save if weblog is using shared theme

yeah, the defaultPageId remains unset until a user first customizes a theme, so a NULL value seems appropriate.  MySQL doesn't seem to have a problem with this and simply lets the value be empty string, which is an alternative to NULL.

-- Allen


On Mon, 2005-10-31 at 07:55, Dave Johnson wrote:
> Allen,
> 
> I think the fix for this one is to allow website.defaultPageId to be 
> null. Because, when using a shared theme there is no need to track the 
> ID of the theme's default page within the weblog itself.
> 
> http://opensource2.atlassian.com/projects/roller/browse/ROL-869
> 
> Any advice on this?
> 
> - Dave
> 
> 


Re: ROL-869: Weblog settings page throws exception on save if weblog is using shared theme

Posted by Elias Torres <el...@torrez.us>.
We encountered this as well. I checked the db schema and this is where
I changed from default  NULL to default ''. We made a change to the
JSP were the first option in the drop down was a "--Use Default
Page--" with a value of empty string and that worked.

Elias

On 10/31/05, Allen Gilliland <Al...@sun.com> wrote:
> yeah, the defaultPageId remains unset until a user first customizes a theme, so a NULL value seems appropriate.  MySQL doesn't seem to have a problem with this and simply lets the value be empty string, which is an alternative to NULL.
>
> -- Allen
>
>
> On Mon, 2005-10-31 at 07:55, Dave Johnson wrote:
> > Allen,
> >
> > I think the fix for this one is to allow website.defaultPageId to be
> > null. Because, when using a shared theme there is no need to track the
> > ID of the theme's default page within the weblog itself.
> >
> > http://opensource2.atlassian.com/projects/roller/browse/ROL-869
> >
> > Any advice on this?
> >
> > - Dave
> >
> >
>
>