Skip to content

Conversation

@jcsiegrist
Copy link
Contributor

The failureMessage is not escaped for the DB when trying to write the failure message in markJobFailed.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use (int)$id as per CS

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a good idea? Probably not when using uuids for id's

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You maybe also use value() there then. But I don't think anyone would ever use UUIDs for the QueuedTask table.

@dereuromark
Copy link
Owner

Do you happen to have a test case along with this maybe?

@dereuromark
Copy link
Owner

Any update on how to reproduce (what query etc) and a test case maybe?

@jcsiegrist
Copy link
Contributor Author

Sorry, I didn't have time yet. I'll try to get to it this week. Thanks for the reminder.

@dereuromark
Copy link
Owner

Well... :)

dereuromark pushed a commit that referenced this pull request Dec 12, 2014
…sage

patch sql encoding bug in Queue Plugin
@dereuromark dereuromark merged commit 317e6aa into dereuromark:master Dec 12, 2014
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.

2 participants