{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/3352","repository_url":"https://api.github.com/repos/primefaces/primefaces","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/3352/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/3352/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/3352/events","html_url":"https://github.com/primefaces/primefaces/issues/3352","id":297805383,"number":3352,"title":"Spinner negative values are broken with min attribute unset","user":{"login":"georgwolf","id":30257984,"avatar_url":"https://avatars1.githubusercontent.com/u/30257984?v=4","gravatar_id":"","url":"https://api.github.com/users/georgwolf","html_url":"https://github.com/georgwolf","followers_url":"https://api.github.com/users/georgwolf/followers","following_url":"https://api.github.com/users/georgwolf/following{/other_user}","gists_url":"https://api.github.com/users/georgwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/georgwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgwolf/subscriptions","organizations_url":"https://api.github.com/users/georgwolf/orgs","repos_url":"https://api.github.com/users/georgwolf/repos","events_url":"https://api.github.com/users/georgwolf/events{/privacy}","received_events_url":"https://api.github.com/users/georgwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-16T14:37:28Z","updated_at":"2018-02-16T14:41:39Z","closed_at":null,"author_association":"NONE","body":"## 1) Environment\r\n- PrimeFaces version: 6.2-SNAPSHOT (up to commit d2d2f6e)\r\n\r\n## 2) Expected behavior\r\nSpinner with no min value set spins from 0 to -1, -2 etc.\r\n\r\n## 3) Actual behavior\r\nSpinner set to -5e-324 when spinning past zero\r\n\r\n## 4) Steps to reproduce\r\nRun Primefaces Showcase with latest 6.2-SNAPSHOT and decrease Basic Spinner (on the Input -> Spinner page) past zero\r\n\r\n\r\nThis is related to issue #3320 / pull request #3322, but as they're already closed I thought it's better to open a new issue so that this doesn't slip into 6.2 final.\r\n\r\nIMO in spinner.xml the default min value should be \"-java.lang.Double.MAX_VALUE\" as Double.MIN_VALUE is actually the smallest positive double while Double.MAX_VALUE is the largest magnitude and since the sign is a separate bit \"-java.lang.Double.MAX_VALUE\" is the largest negative value then."},"comment":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/comments/366253421","html_url":"https://github.com/primefaces/primefaces/issues/3352#issuecomment-366253421","issue_url":"https://api.github.com/repos/primefaces/primefaces/issues/3352","id":366253421,"user":{"login":"tandraschko","id":2485545,"avatar_url":"https://avatars1.githubusercontent.com/u/2485545?v=4","gravatar_id":"","url":"https://api.github.com/users/tandraschko","html_url":"https://github.com/tandraschko","followers_url":"https://api.github.com/users/tandraschko/followers","following_url":"https://api.github.com/users/tandraschko/following{/other_user}","gists_url":"https://api.github.com/users/tandraschko/gists{/gist_id}","starred_url":"https://api.github.com/users/tandraschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tandraschko/subscriptions","organizations_url":"https://api.github.com/users/tandraschko/orgs","repos_url":"https://api.github.com/users/tandraschko/repos","events_url":"https://api.github.com/users/tandraschko/events{/privacy}","received_events_url":"https://api.github.com/users/tandraschko/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T14:41:39Z","updated_at":"2018-02-16T14:41:39Z","author_association":"MEMBER","body":"oh sorrry, now reverted also the min value / spinner.xml."}}
{"actor":{"display_login":"tandraschko"}}