Skip to content

SQL reader step fix undefined property error #984

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

Open
wants to merge 1 commit into
base: MOODLE_405_STABLE
Choose a base branch
from

Conversation

sumaiyamannan
Copy link

Hi

Before this patch, the SQL reader flow step is breaking silently such that the data is exposed to the next steps but the error causes the response from the next step from passing on.

Testing instructions:

  • Create SQL reader step and add 'record' to the field 'Counter field'.
    -- Add fields in Extra settings -> User defined variables
  • Add a CURL step and use the data from the above SQL reader
  • Click on 'Run now'.
  • You will get php Undefined property: stdClass::$record error and the curl step response will not be recorded

Regards,
Sumaiya

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.

1 participant