[ 
https://issues.apache.org/jira/browse/RAVE-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403424#comment-13403424
 ] 

Viknes B commented on RAVE-690:
-------------------------------

We have a sql statement in rave-portal-resources/initial_data.sql

set @user_id_1 = (SELECT seq_count FROM RAVE_PORTAL_SEQUENCES WHERE seq_name = 
@user_seq);
insert into person (entity_id, username, password, expired, locked, enabled, 
email, default_page_layout_id, dtype, display_name, family_name, given_name)
values (@user_id_1, 'canonical', 
'$2a$10$TkEgze5kLy9nRlfd8PT1zunh6P1ND8WPjLojFjAMNgZMu1D9D1n4.', FALSE, FALSE, 
TRUE,'[email protected]', @three_col_id, 'User', 'Canonical User', 'User', 
'Canonical');
UPDATE RAVE_PORTAL_SEQUENCES SET seq_count = (seq_count + 1) WHERE seq_name = 
@user_seq;

set @next_person_association = (SELECT seq_count FROM RAVE_PORTAL_SEQUENCES 
WHERE seq_name = @person_association_seq);
INSERT INTO person_association(entity_id, follower_id, followed_id)
VALUES (@next_person_association, @user_id_1, @user_id_2);
UPDATE RAVE_PORTAL_SEQUENCES SET seq_count = (seq_count + 1) WHERE seq_name = 
@person_association_seq;

But variable @user_id_1 in the second statement is null. Does anyone has any 
idea why?
                
> Manage Friend Data in Rave
> --------------------------
>
>                 Key: RAVE-690
>                 URL: https://issues.apache.org/jira/browse/RAVE-690
>             Project: Rave
>          Issue Type: Improvement
>            Reporter: Raminderjeet Singh
>         Attachments: gadget.patch
>
>
> Currently we can display friend data in rave but there are no methods to 
> add/delete friend from open social data in Rave. It would be good to have 
> friend operation in rave and display them into user profile page. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to