{"action":"created","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/12848","repository_url":"https://api.github.com/repos/dotCMS/core","labels_url":"https://api.github.com/repos/dotCMS/core/issues/12848/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/12848/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/12848/events","html_url":"https://github.com/dotCMS/core/issues/12848","id":265047352,"number":12848,"title":"UI should notify when user tries to save a category with a long name","user":{"login":"shaydotcms","id":8741846,"avatar_url":"https://avatars0.githubusercontent.com/u/8741846?v=4","gravatar_id":"","url":"https://api.github.com/users/shaydotcms","html_url":"https://github.com/shaydotcms","followers_url":"https://api.github.com/users/shaydotcms/followers","following_url":"https://api.github.com/users/shaydotcms/following{/other_user}","gists_url":"https://api.github.com/users/shaydotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/shaydotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaydotcms/subscriptions","organizations_url":"https://api.github.com/users/shaydotcms/orgs","repos_url":"https://api.github.com/users/shaydotcms/repos","events_url":"https://api.github.com/users/shaydotcms/events{/privacy}","received_events_url":"https://api.github.com/users/shaydotcms/received_events","type":"User","site_admin":false},"labels":[{"id":82381247,"url":"https://api.github.com/repos/dotCMS/core/labels/Cat%20:%20UI","name":"Cat : UI","color":"5319e7","default":false},{"id":586603969,"url":"https://api.github.com/repos/dotCMS/core/labels/Release%20:%204.2.0","name":"Release : 4.2.0","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/90","html_url":"https://github.com/dotCMS/core/milestone/90","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/90/labels","id":2760607,"number":90,"title":"Rex Current","description":"","creator":{"login":"dsilvam","id":1576794,"avatar_url":"https://avatars3.githubusercontent.com/u/1576794?v=4","gravatar_id":"","url":"https://api.github.com/users/dsilvam","html_url":"https://github.com/dsilvam","followers_url":"https://api.github.com/users/dsilvam/followers","following_url":"https://api.github.com/users/dsilvam/following{/other_user}","gists_url":"https://api.github.com/users/dsilvam/gists{/gist_id}","starred_url":"https://api.github.com/users/dsilvam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsilvam/subscriptions","organizations_url":"https://api.github.com/users/dsilvam/orgs","repos_url":"https://api.github.com/users/dsilvam/repos","events_url":"https://api.github.com/users/dsilvam/events{/privacy}","received_events_url":"https://api.github.com/users/dsilvam/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":2,"state":"open","created_at":"2017-09-12T16:21:07Z","updated_at":"2017-10-13T15:23:21Z","due_on":"2017-10-24T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-10-12T18:50:34Z","updated_at":"2017-10-13T15:25:38Z","closed_at":null,"author_association":"NONE","body":"When category name is too long, UI should let user know what is going on. Currently after you hit Save button, nothing happens.\r\n\r\n## Expected Behavior\r\nAfter you hit Save button, UI should let user know when category name is too long\r\n\r\n## Current Behavior\r\nSystem appropriately logs the restriction but UI not. Currently after you hit Save button, nothing happens.\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Login to dotcms\r\n2. Navigate to Content Types> Categories\r\n3. Create a new category\r\n4. For the Name and/or Key, use a very long name, i.e.: Test with a Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Really Long Name\r\n5. Hit Save button. You will see nothing happens.\r\n6. System appropriately logs the restriction but UI not.\r\n\r\n## Your Environment\r\n* dotCMS version used: dotcms 4.2 master / commit cbee90a3c962b315fed01bfb96e68c677157ff24\r\n* Database and version: Postgres 9.3.5\r\n* Operating System and version: Mac OS 10.10.5\r\n* Browser Name and version: Firefox v45.0.1\r\n* Application Server and version: Tomcat 8\r\n* Java Brand and version: Java 8"},"comment":{"url":"https://api.github.com/repos/dotCMS/core/issues/comments/336485119","html_url":"https://github.com/dotCMS/core/issues/12848#issuecomment-336485119","issue_url":"https://api.github.com/repos/dotCMS/core/issues/12848","id":336485119,"user":{"login":"wezell","id":934364,"avatar_url":"https://avatars2.githubusercontent.com/u/934364?v=4","gravatar_id":"","url":"https://api.github.com/users/wezell","html_url":"https://github.com/wezell","followers_url":"https://api.github.com/users/wezell/followers","following_url":"https://api.github.com/users/wezell/following{/other_user}","gists_url":"https://api.github.com/users/wezell/gists{/gist_id}","starred_url":"https://api.github.com/users/wezell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wezell/subscriptions","organizations_url":"https://api.github.com/users/wezell/orgs","repos_url":"https://api.github.com/users/wezell/repos","events_url":"https://api.github.com/users/wezell/events{/privacy}","received_events_url":"https://api.github.com/users/wezell/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T15:25:38Z","updated_at":"2017-10-13T15:25:38Z","author_association":"CONTRIBUTOR","body":"Add max length to category name fields"}}
{"actor":{"display_login":"wezell"}}