Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When I add an numeric property to a LeBlender Editor I always get "0".
I use:
Model.Items.First().GetValue("newsCount")
I have also tried casting it as an Integer by doing:
Convert.ToInt32(Model.Items.First().GetValue("newsCount"))
How do I get the correct value from a numeric property?
Yes you right, I have the same issue ! I will try to figure out what is happening
Hi Søren,
I have found the issue https://github.com/imulus/Archetype/issues/102
I will prepare a patch for that.
Thanks for your feedback, I will keep you up to date about that.
We're having the same issue, getting a zero value for a numeric field in a LeBlender Grid Editor. All other field types work fine.
Hi !
The fix is here https://github.com/Lecoati/LeBlender/commit/1e62b334bc95121d33b1a9b176da36ba01f61e3a it will be part of the next release (hopefuly next week)
Thanks
The bug is fixed in LeBlender 1.0.8 (just released)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Numeric property returns 0
When I add an numeric property to a LeBlender Editor I always get "0".
I use:
I have also tried casting it as an Integer by doing:
How do I get the correct value from a numeric property?
Yes you right, I have the same issue ! I will try to figure out what is happening
Hi Søren,
I have found the issue https://github.com/imulus/Archetype/issues/102
I will prepare a patch for that.
Thanks for your feedback, I will keep you up to date about that.
We're having the same issue, getting a zero value for a numeric field in a LeBlender Grid Editor. All other field types work fine.
Hi !
The fix is here https://github.com/Lecoati/LeBlender/commit/1e62b334bc95121d33b1a9b176da36ba01f61e3a it will be part of the next release (hopefuly next week)
Thanks
Hi !
The bug is fixed in LeBlender 1.0.8 (just released)
is working on a reply...