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

_attributes gets added to _attributes? #191

Open
blaasvaer opened this issue Oct 11, 2022 · 0 comments
Open

_attributes gets added to _attributes? #191

blaasvaer opened this issue Oct 11, 2022 · 0 comments

Comments

@blaasvaer
Copy link

This:

<timetablebook creation="2021-09-20T10:50:45" creation_user="abc" desc="" district_name="" filters="filters" name="" order_type="58" timetablename="K12122020" timetablestatus="-1" timetableversionid="2055" tps_version="4.16.405.11" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="K22.xsd">

Becomes this:

"timetablebook": {
	"_attributes": {
		"creation": "2021-09-20T10:50:45",
		"creation_user": "abc",
		"desc": "",
		"district_name": "",
		"filters": "filters",
		"name": "",
		"order_type": "58",
		"timetablename": "K12122020",
		"timetablestatus": "-1",
		"timetableversionid": "2055",
		"tps_version": "4.16.405.11",
		"_attributes": {
			"creation": "2021-09-20T10:50:45",
			"creation_user": "abc",
			"district_name": "",
			"filters": filters",
			"name": "",
			"order_type": "58",
			"timetablename": "K12122020",
			"timetablestatus": "-1",
			"timetableversionid": "2055",
			"tps_version": "4.16.405.11"
		}
	},

Notice how the _attributes get added to _attributes itself.

This has to be a bug.

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

No branches or pull requests

1 participant