Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of places is not deterministic #22

Open
jorgecarleitao opened this issue Jun 6, 2014 · 1 comment
Open

Validation of places is not deterministic #22

jorgecarleitao opened this issue Jun 6, 2014 · 1 comment

Comments

@jorgecarleitao
Copy link
Owner

in BASE, there can be more than one place of the contract, for example, in this example, it reads:

"executionPlace": "Portugal, Distrito não determinado, Concelho não determinado<BR/>"
                  "Portugal<BR/>"
                  "Portugal, Vila Real, Vila Real<BR/>"
                  "Portugal, Porto, Maia"

Moreover, the order on which they appear between <BR/> is random.
At the moment, we are only taking the first place, which means, that, on the above example, it could have been one of the three.

@jorgecarleitao
Copy link
Owner Author

We have two solutions here: either we start using a many to many relationship between contracts and places or we need to define a rule on which one we pick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant