Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Empty docname in wbmlo change log & track changes for WB Rules (LAN-781) #252

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

marination
Copy link
Member

@marination marination commented Nov 28, 2023

Note: WB Rules is a single doctype so deletion log is absent

Result:

[
	{
		"id": "55368f3f0e",
		"doctype": "Water Body",
		"docname": "C03-6107",  // Water Body name present in deleted WBMLO
		"event": "Modified",
		"datetime": "2023-11-27 18:39:50.627318",
		"changes": {
			"organizations": null // WBMLO deleted
		}
	},
	{
	"id": "018538afff",
	"doctype": "Water Body Rules",  // New: Water Body Rules changes
	"docname": "Water Body Rules",
	"datetime": "2023-11-27 19:01:25.022739",
	"event": "Modified",
	"changes": {
		"water_body_rules": "<div class=\"ql-editor read-mode\"><p><img src=\"/files/J0nWqtW.jpg\" width=\"216\"></p><p><br></p><h2>this is a rule</h2><p>this is a subheading</p></div>"
		}
	},
	{
	"id": "e25e0f358e",
	"doctype": "Water Body Rules",
	"docname": "Water Body Rules",
	"datetime": "2023-11-28 13:50:59.009152",
	"event": "Modified",
	"changes": {
		"water_body_rules": "<div class=\"ql-editor read-mode\"><p><br></p></div>",
		"imprint": "<div class=\"ql-editor read-mode\"><h2>Visit us</h2><p><span style=\"background-color: rgb(204, 232, 204);\">Peterssteinweg 14</span></p><p><span style=\"background-color: rgb(204, 232, 204);\">04107&nbsp;Leipzig</span></p><p><br></p><p><br></p></div>"
		}
	},
]

@marination marination marked this pull request as ready for review November 28, 2023 13:25
@barredterra barredterra merged commit b862c3d into version-13-hotfix Nov 28, 2023
7 checks passed
@barredterra barredterra deleted the change-log-wb-rules branch November 28, 2023 13:51
@barredterra
Copy link
Member

🎉 This PR is included in version 0.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants