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

[textprocessing] Fix: Accept scheduling a task if there are equivalent taskprocessing providers only #49260

Merged

Conversation

julien-nc
Copy link
Member

Runtask and RunOrSchedule are not affected.

Should be backported to stable30.

To reproduce the issue:

curl -H "ocs-apirequest: true" -u admin:admin \
    http://nextcloud.local/ocs/v2.php/textprocessing/schedule \
    -X POST \
    -d '{"input":"bla and bla but bla","type":"OCP\\TextProcessing\\SummaryTaskType","appId":"plopapp"}' \
    -H "Content-Type: application/json"

while having no text processing providers but only task processing core:text2text:summary providers.

… taskprocessing providers only

Signed-off-by: Julien Veyssier <[email protected]>
@bigcat88 bigcat88 self-requested a review November 13, 2024 17:45
@marcelklehr
Copy link
Member

lol

@julien-nc julien-nc merged commit 428e7a3 into master Nov 14, 2024
186 checks passed
@julien-nc julien-nc deleted the fix/noid/textprocessing-schedule-taskprocessing-provider branch November 14, 2024 10:58
@julien-nc
Copy link
Member Author

/backport to stable30

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

Successfully merging this pull request may close these issues.

5 participants