{"action":"created","issue":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1629","repository_url":"https://api.github.com/repos/geonetwork/core-geonetwork","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1629/labels{/name}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1629/comments","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1629/events","html_url":"https://github.com/geonetwork/core-geonetwork/issues/1629","id":166088319,"number":1629,"title":"Schematron conditions seem stored in wrong database column","user":{"login":"josegar74","id":1695003,"avatar_url":"https://avatars.githubusercontent.com/u/1695003?v=3","gravatar_id":"","url":"https://api.github.com/users/josegar74","html_url":"https://github.com/josegar74","followers_url":"https://api.github.com/users/josegar74/followers","following_url":"https://api.github.com/users/josegar74/following{/other_user}","gists_url":"https://api.github.com/users/josegar74/gists{/gist_id}","starred_url":"https://api.github.com/users/josegar74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegar74/subscriptions","organizations_url":"https://api.github.com/users/josegar74/orgs","repos_url":"https://api.github.com/users/josegar74/repos","events_url":"https://api.github.com/users/josegar74/events{/privacy}","received_events_url":"https://api.github.com/users/josegar74/received_events","type":"User","site_admin":false},"labels":[{"id":7034619,"url":"https://api.github.com/repos/geonetwork/core-geonetwork/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/22","html_url":"https://github.com/geonetwork/core-geonetwork/milestones/3.2.1","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/22/labels","id":1923201,"number":22,"title":"3.2.1","description":"","creator":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":18,"state":"open","created_at":"2016-08-04T09:27:44Z","updated_at":"2016-11-11T09:30:17Z","due_on":"2016-12-02T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-07-18T13:02:19Z","updated_at":"2016-11-14T10:01:47Z","closed_at":null,"body":"When adding a XPATH condition to apply a schematron, it's stored in the table `schematroncriteria` in the column `uivalue`, but later the code that checks the condition uses the value in the column `value` of the same table, that is empty and the condition check fails.\n\nIn the documentation (https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin#criteria-types)\n- value - a string that is interpreted by SchematronCriteriaType when evaluating if the metadata is acceptable to the criteria.\n- uivalue - the higher-level value which is used by uitype to create a \"type\" object and \"value\" object.\n\nProbably it's me, but the documentation about `uivalue` looks a bit cryptic.\n\nLooks a bug, @fxprunayre do you understand what is the usage of `uivalue`and if should store the XPATH (as now) or should be stored in the `value` field?\n"},"comment":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments/260294397","html_url":"https://github.com/geonetwork/core-geonetwork/issues/1629#issuecomment-260294397","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1629","id":260294397,"user":{"login":"pmauduit","id":594335,"avatar_url":"https://avatars.githubusercontent.com/u/594335?v=3","gravatar_id":"","url":"https://api.github.com/users/pmauduit","html_url":"https://github.com/pmauduit","followers_url":"https://api.github.com/users/pmauduit/followers","following_url":"https://api.github.com/users/pmauduit/following{/other_user}","gists_url":"https://api.github.com/users/pmauduit/gists{/gist_id}","starred_url":"https://api.github.com/users/pmauduit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmauduit/subscriptions","organizations_url":"https://api.github.com/users/pmauduit/orgs","repos_url":"https://api.github.com/users/pmauduit/repos","events_url":"https://api.github.com/users/pmauduit/events{/privacy}","received_events_url":"https://api.github.com/users/pmauduit/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T10:01:47Z","updated_at":"2016-11-14T10:01:47Z","body":"> I never used that feature, maybe a geocat.ch guy may help on that @pmauduit ?\r\n\r\nSorry I missed this one ; we are encountering the same issue on Geocat, uivalue and value are desynchronized after modifying the schematron rules via the admin interface, this has not been fixed yet on GC."}}
{"actor":{"display_login":"pmauduit"}}