{"action":"created","issue":{"url":"https://api.github.com/repos/ekylibre/ekylibre/issues/451","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/451/comments","events_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/451/events","html_url":"https://github.com/ekylibre/ekylibre/issues/451","id":107596766,"number":451,"title":"When calling a variant selector in procedure, we 've got list of product","user":{"login":"ionosphere","id":1838491,"avatar_url":"https://avatars.githubusercontent.com/u/1838491?v=3","gravatar_id":"","url":"https://api.github.com/users/ionosphere","html_url":"https://github.com/ionosphere","followers_url":"https://api.github.com/users/ionosphere/followers","following_url":"https://api.github.com/users/ionosphere/following{/other_user}","gists_url":"https://api.github.com/users/ionosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/ionosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionosphere/subscriptions","organizations_url":"https://api.github.com/users/ionosphere/orgs","repos_url":"https://api.github.com/users/ionosphere/repos","events_url":"https://api.github.com/users/ionosphere/events{/privacy}","received_events_url":"https://api.github.com/users/ionosphere/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ekylibre/ekylibre/labels/Bug","name":"Bug","color":"444444"},{"url":"https://api.github.com/repos/ekylibre/ekylibre/labels/Nomenclature","name":"Nomenclature","color":"fbca04"},{"url":"https://api.github.com/repos/ekylibre/ekylibre/labels/Production","name":"Production","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"burisu","id":240595,"avatar_url":"https://avatars.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ekylibre/ekylibre/milestones/22","html_url":"https://github.com/ekylibre/ekylibre/milestones/1.3.1","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/milestones/22/labels","id":1388236,"number":22,"title":"1.3.1","description":"","creator":{"login":"burisu","id":240595,"avatar_url":"https://avatars.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":3,"state":"open","created_at":"2015-11-02T08:23:57Z","updated_at":"2015-11-02T11:32:07Z","due_on":"2015-11-05T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-21T20:56:02Z","updated_at":"2015-11-02T11:32:07Z","closed_at":"2015-11-02T11:32:07Z","body":"For example, our product_evolution procedure is calling a variant to evolve product\r\n\r\n```xml\r\n<?xml version=\"1.0\"?>\r\n<procedures xmlns=\"http://www.ekylibre.org/XML/2013/procedures\">\r\n  <procedure name=\"sorting\" natures=\"product_evolution, product_moving\" version=\"0\">\r\n    <variables>\r\n      <variable name=\"product\" variety=\"product\"/>\r\n      <variable name=\"product_to_sort\" variety=\":product\" derivative-of=\":product\" new=\"parted-from: product\" roles=\"product_moving-target, product_evolution-target\">\r\n        <handler indicator=\"population\"/>\r\n      </variable>\r\n      <variable name=\"container\" roles=\"product_moving-container\" default-actor=\"default_storage_of_support\"/>\r\n      <variable name=\"doer\" variety=\"worker\" abilities=\"move\" roles=\"product_moving-doer\"/>\r\n      <variable name=\"variant\" roles=\"product_evolution-variant\"/>\r\n    </variables>\r\n    <operations>\r\n      <operation id=\"1\">\r\n        <!-- Operation 700 -->\r\n        <task do=\"[doer] acts on [product]\"/>\r\n        <task do=\"[product] parts with [product_to_sort]\"/>\r\n        <task do=\"[product_to_sort] moves in [container]\"/>\r\n        <task do=\"[product_to_sort] variant cast into [variant]\"/>\r\n      </operation>\r\n    </operations>\r\n  </procedure>\r\n</procedures>\r\n```\r\n\r\nbut in view, we have a list of product instead of a list of variant\r\n\r\n![evolution](https://cloud.githubusercontent.com/assets/1838491/10004757/b41a2ef8-60b3-11e5-9748-0f5c0e94274f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ekylibre/ekylibre/issues/comments/152994135","html_url":"https://github.com/ekylibre/ekylibre/issues/451#issuecomment-152994135","issue_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/451","id":152994135,"user":{"login":"burisu","id":240595,"avatar_url":"https://avatars.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T11:32:07Z","updated_at":"2015-11-02T11:32:07Z","body":"`variant` attribute was missing. Fixed with 2de97406cee0c30f554df53d1bd0a1b31d8cd832."}}