Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include the problem source hash in the problemUUID passed to PG.
If a problem is rendered using any of the source hash parameters (`problemSource`, `rawProblemSource`, or `uriEncodedProblemSource`), then an MD5 hex of the utf8 encoded source is added tot he problemUUID that is passed to PG. This means that if a problem is rendered by source and the source changes, then dynamically generated images will be regenerated. The PG problem editor uses the rawProblemSource, so this means that if the code for a problem changes in the code mirror window, then dynamic images will be regenerated. This replaces openwebwork#2277 and openwebwork/pg#983. This is better as it reliably detects code changes, and it does not need a change to PG. Thanks @drdrew42 for pointing this out.
- Loading branch information