[ Cyclos 3.6.1 ] Bug in viewProfile.jsp

Bug and problem reporting

Moderators: rmvanarkel, hugo, alexandre

Post Reply
timreeves
Posts: 54
Joined: Fri Feb 12, 2010 8:30 am

[ Cyclos 3.6.1 ] Bug in viewProfile.jsp

Post by timreeves »

Hi there,

viewProfile.jsp miscalculates the number of table rows to span - it just assumes that all custom fields are displayed (takes the length of the array). But that is not right, because only those which are "${not hidden and not empty value}" are actually displayed, which can lead to a distorted display of the user profile. Fix is attached (perhaps you guys can improve the code, I'm not a Java guy).

Cheers, Tim
Attachments
viewProfile-FIX.zip
(1.44 KiB) Downloaded 207 times
luis
Posts: 201
Joined: Fri Feb 17, 2006 11:01 am

Re: [ Cyclos 3.6.1 ] Bug in viewProfile.jsp

Post by luis »

Thanks for the report and fix.
We'll fix it on the next version.
Luis Fernando Planella Gonzalez
Cyclos development team
rinke
Posts: 87
Joined: Thu Mar 31, 2005 4:54 pm

Re: [ Cyclos 3.6.1 ] Bug in viewProfile.jsp

Post by rinke »

Hi Tim,

Good fixing. It's in the next version. Didn't have to change much.

Rinke
________________________
Rinke Hoekstra
cyclos project team,
STRO.
Post Reply