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

Error thrown when running occ background:queue:status #35222

Closed
paurakhsharma opened this issue May 14, 2019 · 4 comments · Fixed by #35224
Closed

Error thrown when running occ background:queue:status #35222

paurakhsharma opened this issue May 14, 2019 · 4 comments · Fixed by #35224
Labels
Milestone

Comments

@paurakhsharma
Copy link
Member

paurakhsharma commented May 14, 2019

Description

I am getting
A cell must be a TableCell, a scalar or an object implementing __toString, array given.
error when running occ command background:queue:status

This is produced if there is job in the background queue whose arguments is an array
Some of the job class which has an array as an argument are OCA\Federation\BackgroundJob\RequestSharedSecret and OCA\FederatedFileSharing\BackgroundJob\RetryJob

Steps to reproduce:

  1. Setup two servers eg: core and core-fed
  2. Add 'sharing.federation.allowHttpFallback' => false, in config.php both servers
  3. Login as admin in server core and add http://localhost/core-fed on Federation Trusted Server
    Step 3 creates a background job with class OCA\Federation\BackgroundJob\RequestSharedSecret
  4. On server core run occ command background:queue:status

Expected Behaviour

You get the table with the information of jobs in a background queue

Actual Job

You get error A cell must be a TableCell, a scalar or an object implementing __toString, array given.

This can be reproduced in latest master, 10.2 RC 2, 10.2 RC 3

cc @individual-it @phil-davis @PVince81 @micbar @DeepDiver1975

@paurakhsharma
Copy link
Member Author

Related PR #34783

@individual-it
Copy link
Member

please test with background:queue:execute and background:queue:delete

@paurakhsharma
Copy link
Member Author

please test with background:queue:execute and background:queue:delete

I was able to run background:queue:execute and background:queue:delete on such Jobs

@patrickjahns
Copy link
Contributor

Fix in #35224

@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants