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

CopySearchOptionsTask should not use group as parameter name #725

Open
crism opened this issue Nov 29, 2024 · 0 comments
Open

CopySearchOptionsTask should not use group as parameter name #725

crism opened this issue Nov 29, 2024 · 0 comments

Comments

@crism
Copy link

crism commented Nov 29, 2024

Describe the bug
If a task of type CopySearchOptionsTask is put into a Gradle task group, the task tries to use the Gradle task group as part of the options URI, e.g. /Copy Options/data-hub-FINAL/rest-api/options/foo.xml.

To Reproduce
Steps to reproduce the behavior:

  1. Create a task of type CopySearchOptionsTask and assign it to a group.
  2. Run the task.
  3. Observe the resulting error.

Expected behavior
Assigning a task to a group should not affect its behavior.

The task class uses group as an input name. Since group is meaningful to Gradle, tne task parameter should be named something else.

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

No branches or pull requests

1 participant