{"action":"created","issue":{"url":"https://api.github.com/repos/UnifiedViews/Core/issues/448","labels_url":"https://api.github.com/repos/UnifiedViews/Core/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/UnifiedViews/Core/issues/448/comments","events_url":"https://api.github.com/repos/UnifiedViews/Core/issues/448/events","html_url":"https://github.com/UnifiedViews/Core/issues/448","id":94538362,"number":448,"title":"Frontend: unnecessary save prompt in DPU templates view","user":{"login":"jindrichmynarz","id":198642,"avatar_url":"https://avatars.githubusercontent.com/u/198642?v=3","gravatar_id":"","url":"https://api.github.com/users/jindrichmynarz","html_url":"https://github.com/jindrichmynarz","followers_url":"https://api.github.com/users/jindrichmynarz/followers","following_url":"https://api.github.com/users/jindrichmynarz/following{/other_user}","gists_url":"https://api.github.com/users/jindrichmynarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jindrichmynarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jindrichmynarz/subscriptions","organizations_url":"https://api.github.com/users/jindrichmynarz/orgs","repos_url":"https://api.github.com/users/jindrichmynarz/repos","events_url":"https://api.github.com/users/jindrichmynarz/events{/privacy}","received_events_url":"https://api.github.com/users/jindrichmynarz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UnifiedViews/Core/labels/priority:%20High","name":"priority: High","color":"fad8c7"},{"url":"https://api.github.com/repos/UnifiedViews/Core/labels/severity:%20bug","name":"severity: bug","color":"fc2929"},{"url":"https://api.github.com/repos/UnifiedViews/Core/labels/status:%20ready%20for%20test","name":"status: ready for test","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"tomas-knap","id":3014917,"avatar_url":"https://avatars.githubusercontent.com/u/3014917?v=3","gravatar_id":"","url":"https://api.github.com/users/tomas-knap","html_url":"https://github.com/tomas-knap","followers_url":"https://api.github.com/users/tomas-knap/followers","following_url":"https://api.github.com/users/tomas-knap/following{/other_user}","gists_url":"https://api.github.com/users/tomas-knap/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-knap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-knap/subscriptions","organizations_url":"https://api.github.com/users/tomas-knap/orgs","repos_url":"https://api.github.com/users/tomas-knap/repos","events_url":"https://api.github.com/users/tomas-knap/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-knap/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UnifiedViews/Core/milestones/24","html_url":"https://github.com/UnifiedViews/Core/milestones/Release%20v2.1.2","labels_url":"https://api.github.com/repos/UnifiedViews/Core/milestones/24/labels","id":1206658,"number":24,"title":"Release v2.1.2","description":"","creator":{"login":"skrchnavy","id":7057580,"avatar_url":"https://avatars.githubusercontent.com/u/7057580?v=3","gravatar_id":"","url":"https://api.github.com/users/skrchnavy","html_url":"https://github.com/skrchnavy","followers_url":"https://api.github.com/users/skrchnavy/followers","following_url":"https://api.github.com/users/skrchnavy/following{/other_user}","gists_url":"https://api.github.com/users/skrchnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/skrchnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrchnavy/subscriptions","organizations_url":"https://api.github.com/users/skrchnavy/orgs","repos_url":"https://api.github.com/users/skrchnavy/repos","events_url":"https://api.github.com/users/skrchnavy/events{/privacy}","received_events_url":"https://api.github.com/users/skrchnavy/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-07-14T08:49:53Z","updated_at":"2015-07-16T13:57:44Z","due_on":"2015-07-16T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-07-12T06:10:31Z","updated_at":"2015-07-17T05:48:11Z","closed_at":null,"body":"When you go to the DPU templates view and click to view detail of a particular DPU template, then click on another DPU template without changing anything in the template configuration *Unsaved changes* prompt is shown. Steps to reproduce are also provided by @eea02 in #301 [here](https://github.com/UnifiedViews/Core/issues/301#issuecomment-119946790).\r\n\r\nHowever, I discovered that this occurs only for certain DPUs, which leads me to believe that it may be a bug in the given DPUs and not in the UnifiedViews/Core. If that turns out to be the case, then we should move this issue to the appropriate DPU repositories.\r\n\r\nI'm using bd1ace5a754b87b9fb8794da215e82fd4a443765 and I was able to reproduce this behaviour for these DPUs:\r\n\r\n* t-filesFilter\r\n* t-filesFindAndReplace\r\n* t-filesRenamer\r\n* t-htmlCss\r\n* t-rdfMerger\r\n* t-rdfToFiles\r\n* t-sparqlConstruct\r\n* t-unzipper\r\n* t-xslt\r\n* t-zipper\r\n* l-rdfToSparqlEndpoint\r\n* l-filesToParliament\r\n\r\nSome DPUs that **don't** trigger the *Unsaved changes* prompt:\r\n\r\n* e-filesDownload\r\n* t-filesToRdf\r\n* t-tabular\r\n* ...\r\n\r\nInterestingly, using UnifiedViews in ODN 1.0.3 installed from the odn-simple Debian package, the behaviour is different (probably due to different versions of DPUs?). Most DPUs trigger this dialog. The ones that don't are mostly loaders, such as:\r\n\r\n* l-filesToCkan\r\n* l-rdfToCkan\r\n* l-rdfToVirtuoso\r\n* l-relationalToCkan\r\n\r\nPlus, there are several transformers and loaders that don't trigger the prompt including:\r\n\r\n* t-geonamesOrgToRdfFile\r\n* t-relational\r\n* e-skWhoisToRdf\r\n* e-relationalFromSql\r\n\r\nCan we identify the difference between the DPUs that trigger the prompt and those that don't trigger it? Is it an issue of the individual DPUs or of the UnifiedViews/Core?"},"comment":{"url":"https://api.github.com/repos/UnifiedViews/Core/issues/comments/122182702","html_url":"https://github.com/UnifiedViews/Core/issues/448#issuecomment-122182702","issue_url":"https://api.github.com/repos/UnifiedViews/Core/issues/448","id":122182702,"user":{"login":"mkl-eea-sk","id":6399320,"avatar_url":"https://avatars.githubusercontent.com/u/6399320?v=3","gravatar_id":"","url":"https://api.github.com/users/mkl-eea-sk","html_url":"https://github.com/mkl-eea-sk","followers_url":"https://api.github.com/users/mkl-eea-sk/followers","following_url":"https://api.github.com/users/mkl-eea-sk/following{/other_user}","gists_url":"https://api.github.com/users/mkl-eea-sk/gists{/gist_id}","starred_url":"https://api.github.com/users/mkl-eea-sk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkl-eea-sk/subscriptions","organizations_url":"https://api.github.com/users/mkl-eea-sk/orgs","repos_url":"https://api.github.com/users/mkl-eea-sk/repos","events_url":"https://api.github.com/users/mkl-eea-sk/events{/privacy}","received_events_url":"https://api.github.com/users/mkl-eea-sk/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T05:48:11Z","updated_at":"2015-07-17T05:48:11Z","body":"The fix for this issue requires DPU rebuilding and re-releasing."}}