Page MenuHomePhabricator

Vue layer is not converting implementation or tester objects to JSON before sending them in wikilambda_perform_test request
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce:

  • Go to the edit page for an implementation

Observed behavior:

Array of implementations included in wikilambda_perform_test includes the string '[object Object]' for the current implementation as it has not been converted to JSON

Expected behavior (Acceptance criteria):

Should be JSON

Completion checklist

Event Timeline

Change 849120 had a related patch set uploaded (by EWright; author: EWright):

[mediawiki/extensions/WikiLambda@master] Fix flow where expanded implementation is sent to API for perform_test.

https://gerrit.wikimedia.org/r/849120

Change 849120 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix flow where expanded implementation is sent to API for perform_test.

https://gerrit.wikimedia.org/r/849120

This comment was removed by EWright.

The above patch ensured both implementations and testers are converted to JSON.