WME bug? Node attribute "partial" is missing...
Hi,
In WME Validator we've been seeing random false positives for some time. The bug was not reproducible and overall hard to debug.
But after some time we finally nailed the issue. It appears, the root cause is that in some cases WME does not set attribute "partial" for incomplete nodes.
For example here is a permalink. There is a node 273196475 on north connecting three segments. Two of those segments are on screen, the third one is further northward and not visible.
If we open the permalink and check this node with the command:
On some systems it shows correctly three connected segments or two segments and attribute "partial". But for me and apparently some other users there will be just two segments and no attribute "partial". So some check in Validator false report nonexistent issues.
We have tried to workaround the issue by assuming the node is partial if it is off screen:
Unfortunately it appears the node might be visible, but still have just two segments instead of three
It might be a known issue, but I missed some classes recently Any suggestions how to fix or workaround this issue? If there is no solution, how to escalate this issue to fix the WME?
Here is the link to the Validator's bug report with more information.
Thanks in advance for your help!
In WME Validator we've been seeing random false positives for some time. The bug was not reproducible and overall hard to debug.
But after some time we finally nailed the issue. It appears, the root cause is that in some cases WME does not set attribute "partial" for incomplete nodes.
For example here is a permalink. There is a node 273196475 on north connecting three segments. Two of those segments are on screen, the third one is further northward and not visible.
If we open the permalink and check this node with the command:
Code: Select all
W.model.nodes.get(273196475).attributes
We have tried to workaround the issue by assuming the node is partial if it is off screen:
Code: Select all
isPartial = ! W.map.getExtent().containsBounds(node.geometry.bounds);
It might be a known issue, but I missed some classes recently Any suggestions how to fix or workaround this issue? If there is no solution, how to escalate this issue to fix the WME?
Here is the link to the Validator's bug report with more information.
Thanks in advance for your help!
Re: WME bug? Node attribute "partial" is missing...