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

Fix parsing the mdUI Info #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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