Problem

The PlaygroundService::createSession() method was not properly JSON-encoding the metadata array, causing metadata to be lost or corrupted when creating new playground sessions.

Root Cause

The metadata array was being passed directly to the database instead of being serialized to JSON first.

Solution

Updated the createSession() method to properly JSON-encode the metadata array before storage.

Impact

  • Session metadata is now properly preserved
  • Session configuration works as expected

Comments

joevagyok created an issue. See original summary.

gxleano’s picture

I have contributed (not only by code, but discussion, presentation, testing or anything related).

d34dman’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.