XSLT use of umbraco.library:GetCurrentMember() in 6.2 no longer working
I'm evaluating the upgrade from 6.1.6 to 6.2.0 and it would appear the use of umbraco.library:GetCurrentMember()/@id is no longer working. I'm receiving an error, "Value was either too large or too small for an Int32." when passing to a method expecting an Int. I didn't see a ticket on the issue, so thought I'd hit the community first.
You can create additional methods to return any of the details you need. Feels like a workaround, imho. I would hate to see XSLT be forgotten. I still use it particularly when performing Descendant() operations which is gawd-aweful slow with Razor in comparison.
XSLT use of umbraco.library:GetCurrentMember() in 6.2 no longer working
I'm evaluating the upgrade from 6.1.6 to 6.2.0 and it would appear the use of umbraco.library:GetCurrentMember()/@id is no longer working. I'm receiving an error, "Value was either too large or too small for an Int32." when passing to a method expecting an Int. I didn't see a ticket on the issue, so thought I'd hit the community first.
Hi Jon.
I'm getting the same error.
Can't find any description for a solution.
Any one.
/Palle
I'm in the process of testing and replacing all the umbraco.library:GetCurrentMember()/@id calls with my own method:
Then replace with umbraco.page:CurrentMemberId() so far it seems to be working. If someone else has a better solution, I'm all ears.
Great work.
Yes it semme to work.
But how do you get @nodeName and @loginName etc..
/Palle
You can create additional methods to return any of the details you need. Feels like a workaround, imho. I would hate to see XSLT be forgotten. I still use it particularly when performing Descendant() operations which is gawd-aweful slow with Razor in comparison.
Okay Thanks.
Yea thats what i would do. Create a helper method in complied code and then use that. I would add this to:
http://issues.umbraco.org/dashboard
Charlie :)
is working on a reply...