GetTagData should return the tag attributes in an ordered struct

Description

The tag attributes are returned in a normal struct, rather than an ordered struct from getTagData()
https://docs.lucee.org/reference/functions/gettagdata.html

this causes a problem for docs, as the curated order from the tag definitions is lost

https://trycf.com/gist/183c93595f0c81255a071413700e7e32/lucee5?theme=monokai

As a result, the attribute order in docs is somewhat random
https://docs.lucee.org/reference/tags/application.html

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/functions/other/GetTagData.java#L141

https://github.com/lucee/lucee-docs/blob/master/api/reference/TagReferenceReader.cfc#L59

If this could be also fixed in 5.3.7 before it goes stable, it would be great

Environment

None

Activity

Show:
Michael Offner
September 11, 2020, 9:47 PM

Michael Offner
September 11, 2020, 9:48 PM

sorry i had to reject your PR, we did already the same in meantime, but including all struct and also getFunctionData

Michael Offner
September 11, 2020, 9:49 PM

please give it a check

Zac Spitzer
September 11, 2020, 10:03 PM

thanks! works for me :)

Zac Spitzer
October 22, 2020, 6:41 PM

docs now has the correct order

Fixed

Assignee

Pothys - MitrahSoft

Reporter

Zac Spitzer

Priority

New

Labels

Fix versions

Sprint

5.3.8 Sprint 3

Affects versions