You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Pete Ehlke <pd...@rfc822.net> on 2005/10/25 01:16:28 UTC

Roller 2.0, problem with $fullName

Folks:                                                                          
                                                                                
pde@gojira:[~]$ uname -a                                                        
SunOS gojira 5.11 pde sun4u sparc SUNW,Ultra-Enterprise                         
                                                                                
pde@gojira:[~]$ $JAVA_HOME/bin/java -version                                    
java version "1.5.0_01"                                                         
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)           
Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)                     
                                                                                
pde@gojira:[ ~/src/roller/trunk]$ svn log --limit 1                             
------------------------------------------------------------------------        
r327582 | snoopdave | 2005-10-21 16:16:00 -0500 ( Fri, 21 Oct 2005) | 1         
line                                                                            
                                                                                
roller_2.0 moved to trunk                                                       
------------------------------------------------------------------------        
                                                                                
Running this code inside either tomcat 5.5.x or resin 3.0.14, templates that    
reference $fullName seem to print the name column from the website table,       
rather than the fullname column from the rolleruser table.                      
                                                                                
Downgrading to 1.2 from branches/roller_1.2 in the same checkout whilst using   
the same containers & jvm corrects the issue.                                   
                                                                                
Can't find mention of this in list archives, and as I can just about spell      
'java' if you spot me three letters, I'm having a hard time tracking down the   
appropriate places in the source.                                               
                                                                                
Pointers? 
    
Thanks
     
-Pete

Re: Roller 2.0, problem with $fullName

Posted by Pete Ehlke <pd...@rfc822.net>.
On Tue Oct 25, 2005 at 10:42:15 -0700, Allen Gilliland wrote:
>this is because there is no longer a solid link between a weblog and
>user profile with the addition of grup blogging.
>
>you can access profile information from a weblog entry by using the
>$entry.creator object, but the $fullName variable should be considered
>deprecated.
>
Perfect. Thanks!

-Pete

Re: Roller 2.0, problem with $fullName

Posted by Allen Gilliland <Al...@Sun.COM>.
this is because there is no longer a solid link between a weblog and
user profile with the addition of grup blogging.

you can access profile information from a weblog entry by using the
$entry.creator object, but the $fullName variable should be considered
deprecated.

-- Allen


On Mon, 2005-10-24 at 16:16, Pete Ehlke wrote:
> Folks:                                                                          
>                                                                                 
> pde@gojira:[~]$ uname -a                                                        
> SunOS gojira 5.11 pde sun4u sparc SUNW,Ultra-Enterprise                         
>                                                                                 
> pde@gojira:[~]$ $JAVA_HOME/bin/java -version                                    
> java version "1.5.0_01"                                                         
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)           
> Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)                     
>                                                                                 
> pde@gojira:[ ~/src/roller/trunk]$ svn log --limit 1                             
> ------------------------------------------------------------------------        
> r327582 | snoopdave | 2005-10-21 16:16:00 -0500 ( Fri, 21 Oct 2005) | 1         
> line                                                                            
>                                                                                 
> roller_2.0 moved to trunk                                                       
> ------------------------------------------------------------------------        
>                                                                                 
> Running this code inside either tomcat 5.5.x or resin 3.0.14, templates that    
> reference $fullName seem to print the name column from the website table,       
> rather than the fullname column from the rolleruser table.                      
>                                                                                 
> Downgrading to 1.2 from branches/roller_1.2 in the same checkout whilst using   
> the same containers & jvm corrects the issue.                                   
>                                                                                 
> Can't find mention of this in list archives, and as I can just about spell      
> 'java' if you spot me three letters, I'm having a hard time tracking down the   
> appropriate places in the source.                                               
>                                                                                 
> Pointers? 
>     
> Thanks
>      
> -Pete