Strange Issue (Custom Profile FIelds)

To jump to the end, I think the Query in BxDolXMLRPCProfileView.php /  GetProfileInfoExtra - should have 'distinct' added to the select.

My Issue:

A block called 'Gaming Info' was created, and the two fields called 'PS3 ID' & 'XBOX ID' were added to that block.  When you view this on the iPhone, they're duplicated.

If I run the query as it, I get the following results:

_FieldCaption_Gaming Info_View 71
_FieldCaption_Gaming Info_View 71
_FieldCaption_Admin Controls_View 21
_FieldCaption_General Info_View 17

If I look in the joined table 'sys_page_compose', I see the blocks are dupliated, with two unique values for the 'page' column:

ID, Page, Content

413 profile 71 
414 profile_info 71

I don't know why this is - I'm not the one that added the blocks.  Anyway, right now the gaming info will be duplicated on the iPhone.  It's obvious two blocks were added (one for profile edits and one for views).  I know blocks just vanish between pages now and then, so that's probably the case here, and the block was re-added.

Also, something is wrong with the 'isset' check, becuase I get gray boxes with the caption 'Gaming Info' if no values are set.  

 

 

Quote · 24 Jan 2011

Write personal message to AlexT here

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 25 Jan 2011

Please try to go to Page Builder and select "Profile" and then "Profile Info" pages and remove duplicated blocks. If the problem persists please report.

Rules → http://www.boonex.com/terms
Quote · 27 Jan 2011

There is only one block called 'Gaming Info'.  It has the same 'ID' for the block, so I don't know why it's duplicated.

There's some problem with blocks and fields across the entire profile module.  If you add a block called 'TEST BLOCK' to the Edit Profile/member' section, then try to drag the same block in the 'View Profile/member' section, the only thing carried over is the System Name.  Caption and Description are lost.  I think this is the root cause, but didn't see adding 'distinct' as something that would hurt anything.

Quote · 27 Jan 2011

Thank you for report. Fixed.

Ticket - http://www.boonex.com/trac/dolphin/ticket/2388

Changeset - http://www.boonex.com/trac/dolphin/changeset/14920

Rules → http://www.boonex.com/terms
Quote · 28 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.