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

Bogus data gets inserted in Image, Video and Parking fields if left empty #9

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

Comments

@tthoeye
Copy link
Member

tthoeye commented Jun 6, 2014

#1, #2 and #3 have been fixed but introduce a small error in the export schema step:

When no video, image or parking field is indicated in the export schema step the converted file gets filled with bogus data. Would be better to leave these attributes out by default

@tthoeye
Copy link
Member Author

tthoeye commented Jul 3, 2014

For example, when converting a dataset without any data about images, website, parking details etc. the Attributes array looks like this:

"attribute": [
          {
            "term": "Image",
            "type": "url",
            "text": "http://www.issy.com/en/home",
            "tplIdentifier": "#Citadel_image"
          },
          {
            "term": "Video",
            "type": "url",
            "text": "http://www.issy.com/en/home",
            "tplIdentifier": "#Citadel_video"
          },
          {
            "term": "Park type",
            "type": "string",
            "text": "http://www.issy.com/en/home",
            "tplIdentifier": "#Citadel_parkType"
          },
          {
            "term": "Park floors",
            "type": "string",
            "text": "http://www.issy.com/en/home",
            "tplIdentifier": "#Citadel_parkFloors"
          },
          {
            "term": "Park capacity",
            "type": "string",
            "text": "http://www.issy.com/en/home",
            "tplIdentifier": "#Citadel_parkCapacity"
          }
        ]
      },

It looks like it gets the value for each attribute from the website column, but it was never indicated that it should.

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

No branches or pull requests

1 participant