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

Backport "alterable" fix for cloned tasks to 20.08 #1574

Merged
merged 3 commits into from
Jun 22, 2021

Conversation

timopollmeier
Copy link
Member

What:
This is a backport of #1553.

Why:

How did you test it:

Checklist:

in gmp.c:
  Introduced the new value "-1" for the parameter "alterable"
  at the function call of "copy_task()" in function
  "gmp_xml_handle_end_element()".

in manage_sql.c, function "copy_task()":
  Extended the call of the function "copy_resource_lock ()",
  so that also the column "alterable" is copied. The column
  "alterable" of the table "tasks" is now only updated if
  the parameter "alterable" is >= 0.
Adjusted the comment for the parameter "alterable" at
the function header of copy_task() in manage_sql.c.
@timopollmeier timopollmeier requested a review from a team as a code owner June 22, 2021 09:38
@bjoernricks bjoernricks merged commit b23d7bb into greenbone:gvmd-20.08 Jun 22, 2021
@timopollmeier timopollmeier deleted the alterable-clone-20.08 branch October 15, 2021 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants