Skip to content

Fix parsing the mdUI Info#34

Open
ablanco wants to merge 2 commits intoandreassolberg:masterfrom
Yaco-Sistemas:fix-parsing-ui-info
Open

Fix parsing the mdUI Info#34
ablanco wants to merge 2 commits intoandreassolberg:masterfrom
Yaco-Sistemas:fix-parsing-ui-info

Conversation

@ablanco
Copy link
Contributor

@ablanco ablanco commented Sep 16, 2013

  • Fix mdUI info parsing. It assumed that the mdUI info can only
    appears in SP entities, and it tried to get the fields from there
    without checking if the SP variable actually exists. Now it tries
    to use a SP, and if it doesn't exist it falls back to an IdP.
  • Improve location parsing. It tries to split the location using
    ',' and if it can't then tries using '/'. If it still can't get
    the location data then it gives up and assume there is no location
    data instead of entering an infinite recursion loop that produced
    an error.

- Fix mdUI info parsing. It assumed that the mdUI info can only
  appears in SP entities, and it tried to get the fields from there
  without checking if the SP variable actually exists. Now it tries
  to use a SP, and if it doesn't exist it falls back to an IdP.
- Improve location parsing. It tries to split the location using
  ',' and if it can't then tries using '/'. If it still can't get
  the location data then it gives up and assume there is no location
  data instead of entering an infinite recursion loop that produced
  an error.
@ablanco
Copy link
Contributor Author

ablanco commented Oct 16, 2013

I have added another fix related to the mdui to this pull request.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant