VERIFIED SOLUTION i
X

Resolve warning "A databind named XYZ has already been added to this layer ABC." in event logs for Exponare

Issue

Exponare is running fine. But event logs have large number of warnings  "A databind named XYZ has already been added to this layer ABC."

User-added image

Cause

In an Exponare work-context, assume a layer has data-bind named "DB". If a global layer group is added to that work-context and a layer in that global group has a data-bind of same name "DB", then this warning is written to the log. Essentially, it is saying a data-bind of that name already exists for this layer. This is not a bug, but the intended design in order to help catch duplicate data-binds.

An example in Exponare sample data:
- Global layer "ParkLayer" has data-bind named "Parks auto-generated Data Bind.". This layer is part of global group "Global Group 1"

User-added image

- In work-context "Work Context test1" the global group "Global Group 1" has been added. So layer "ParkLayer" is present. Additionally, the work-context has layer "Parks" (from the .mws file listed under Layer Settings") which also has data-bind named "Parks auto-generated Data Bind".
User-added image


- So when Exponare loads Work Context test1, it comes across the two same-name data binds. When the second instance is encountered, a warning is written to the log "A databind named Parks auto-generated Data Bind. has already been added to this layer Parks ."

 

Resolution

UPDATED: June 30, 2017


Renaming the global layer's data-bind from "Parks auto-generated Data Bind." to something else would resolve the warnings.
For example, the global layer's data-bind named "Parks auto-generated Data Bind." can be renamed to "Parks Global Data Bind"

 

Downloads

  • No Downloads