Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote job submission bug #4029

Closed
Zhe-Shen opened this issue Sep 23, 2020 · 0 comments · Fixed by #4030
Closed

Remote job submission bug #4029

Zhe-Shen opened this issue Sep 23, 2020 · 0 comments · Fixed by #4030

Comments

@Zhe-Shen
Copy link

Zhe-Shen commented Sep 23, 2020

Describe the bug
BOINC server error: Can't create batch: Field 'logical_start_time' doesn't have a default value

Steps To Reproduce

  1. Run the test_create_batch function in ./tools/submit_api_test.py.

Expected behavior
Create a batch in the database.

System Information

Additional context
I checked your code in submit_rpc_handler.php and your db schema in schema.sql. It seems the insertion clause does not include some fields such as logical_start_time, logical_end_time, etc.

    $batch_id = BoincBatch::insert(
        "(user_id, create_time, name, app_id, state, expire_time) values ($user->id, $now, '$batch_name', $app->id, ".BATCH_STATE_INIT.", $expire_time)"
    );

Is it a bug or I just missed some necessary functions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants