Updating Team Descriptions.

Message boards : Bug reports : Updating Team Descriptions.

To post messages, you must log in.

AuthorMessage
Profile Buga1
Avatar

Send message
Joined: 12 Sep 07
Posts: 4
Credit: 1,185,513
RAC: 0
Message 637 - Posted: 13 Oct 2008, 20:13:08 UTC

I think this is more of a BOINC wide problem, but wanted to let you know. Our Team leader went to change the team description, and it will change right then. But after a little while (sometimes mins, sometimes hours) it will revert back to the old description.

We have seen this happen in several projects. Seems to be after they added admin parts to the Boinc code. Maybe? Not sure when it exactly started. But has been a problem for past few months, atleast, since trying to change it. Didn't notice the same problem here until Oct 1 when we tried to change it.

I tried to look for a better way to let the BOINC people know, but no easy way it seems. At least in my quick searches. LOL.

Anyway, keep up the great work.

Rick
ID: 637 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 638 - Posted: 13 Oct 2008, 21:25:24 UTC - in response to Message 637.  

I tried to look for a better way to let the BOINC people know, but no easy way it seems. At least in my quick searches. LOL.

Use Trac, register and make a new ticket. I just checked the existing tickets and can't find one that has this described. Trac is the more direct way to get the developer's attention, another way is using the BOINC Dev forums (then we will forward it to them if need be), or the BOINC Dev email list.

But Trac may be easier. It's for BOINC bugs only.
Jord.

BOINC FAQ Service.
ID: 638 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 639 - Posted: 13 Oct 2008, 22:57:04 UTC - in response to Message 637.  
Last modified: 13 Oct 2008, 23:10:27 UTC

The problem is somewhere in team_import.php. I've edited your team info, then I manually ran the team import script and the team info was reverted just like you said.

EDIT: looks like this is the way team_import.php works.

function update_team($t, $team, $user) {
    global $dry_run;
    if (
        trim($t->url) == $team->url
        && $t->type == $team->type
        && trim($t->name_html) == $team->name_html
        && trim($t->description) == $team->description
        && $t->country == $team->country
        && $t->id == $team->seti_id
    ) {
        echo "   no changes\n";
        return;
    }                                                                               echo "   updating\n";
    $url = process_user_text($t->url);
    $name_html = process_user_text($t->name_html);
    $description = process_user_text($t->description);
    $country = process_user_text($t->country);
    $query = "update team set [the long query here]";


So you have to edit BOINC-wide team description, probably somewhere at this page: http://boinc.berkeley.edu/teams/
M4 Project homepage
M4 Project wiki
ID: 639 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Buga1
Avatar

Send message
Joined: 12 Sep 07
Posts: 4
Credit: 1,185,513
RAC: 0
Message 640 - Posted: 14 Oct 2008, 1:29:34 UTC

OK, thanks. We will give that a try.

Rick
ID: 640 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Bug reports : Updating Team Descriptions.




Copyright © 2024 TJM