This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Saving an integer with $cookies doesn't work, and doesn't throw an error. #6151
Closed
Description
Saving an integer as a cookie like so:
$cookies.step = 2;
doesn't result in a cookie being written.
Currently, for someone who is not familiar with cookies, it takes quite some head-scratching before it becomes clear what the problem is when one cookie is written correctly but the other is not.
It would be great if trying to do this would throw an error.