The linter data migration code for linter_tag field and linter_template field are constrained by the database schema to 32 characters for the tag field and 255 characters for the template field.
In some anomalous circumstances Parsoid can create linter_params field json object that contain tag and or template fields that exceed those character limits. This code truncates these excessively long strings to protect the database migrate update code from a length exceeded error.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix migrate data error when params has excessively long strings | mediawiki/extensions/Linter | master | +28 -0 |
Event Timeline
Comment Actions
Change 887402 had a related patch set uploaded (by Sbailey; author: Sbailey):
[mediawiki/extensions/Linter@master] Fix migrate data error when params has excessively long strings
Comment Actions
Change 887402 merged by Sbailey:
[mediawiki/extensions/Linter@master] Fix migrate data error when params has excessively long strings