-
Type:
Bug
-
Status:
Closed
-
Priority:
Medium
-
Resolution:
Done
-
Affects Version/s:
None
-
Fix Version/s:
None
-
-
-
-
-
Item State:
Production Complete
- Closed
-
1. Launch the Postman app.
2. Select “Post” request from dropdwon.
3. Select authorization type as “Basic Auth”.
4. Enter valid User ID and Password.
5. Enter below URL:
http://10.0.2.120/api/employee/addEmployeeTour
6. Pass the require parameter using body.
*Scenario 1] *
API input is not accepting any special characters in State. (e.g. enter state as Uttar Pradesh, Taegu-Jikhalsi ) showing below validation message:
"Parameter state can contain alphabets only"
Scenario 2]
It seems that when entered state value exceed beyond certain characters, then in DB StateID is get stored as 0 (e.g. select country India and State as Maharashtra, Chhattisgarh)
Scenario 3]
Can we re frame below description:
{
"status": "Error",
"message": "Invalid Input",
"errorLevel": "Error",
"code": 403,
"description": "Entered Address Either Country or State is not valid"
}
It should be - "Entered Country or State is not valid"
Cc: Saurabh Sablaka, Prasad Pise
- relates to
-
NF-180
TSR: API: Add Employee- generate & assign defaults
-
-
Closed
{"report":{"apdex":1,"isInitial":true,"journeyId":"95342d12-25f6-42d4-b20d-8db2102bebdd","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":854.5,"redirectCount":0,"resourceLoadedEnd":604.3000001907349,"resourceLoadedStart":189.2000002861023,"resourceTiming":[{"duration":5.599999904632568,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":189.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":194.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":5.300000190734863,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":189.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":194.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":5.300000190734863,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":189.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":194.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":5.400000095367432,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":189.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":189.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":195.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":5.900000095367432,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":190,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":195.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":301.80000019073486,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":190.09999990463257,"connectEnd":190.09999990463257,"connectStart":190.09999990463257,"domainLookupEnd":190.09999990463257,"domainLookupStart":190.09999990463257,"fetchStart":190.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":198.2000002861023,"responseEnd":491.90000009536743,"responseStart":305.7000002861023,"secureConnectionStart":190.09999990463257},{"duration":413.40000009536743,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":190.90000009536743,"connectEnd":190.90000009536743,"connectStart":190.90000009536743,"domainLookupEnd":190.90000009536743,"domainLookupStart":190.90000009536743,"fetchStart":190.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":199.90000009536743,"responseEnd":604.3000001907349,"responseStart":307.7000002861023,"secureConnectionStart":190.90000009536743},{"duration":146,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":191,"connectEnd":191,"connectStart":191,"domainLookupEnd":191,"domainLookupStart":191,"fetchStart":191,"redirectEnd":0,"redirectStart":0,"requestStart":200.30000019073486,"responseEnd":337,"responseStart":335.80000019073486,"secureConnectionStart":191},{"duration":146.5,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":191.09999990463257,"connectEnd":191.09999990463257,"connectStart":191.09999990463257,"domainLookupEnd":191.09999990463257,"domainLookupStart":191.09999990463257,"fetchStart":191.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":201,"responseEnd":337.59999990463257,"responseStart":337,"secureConnectionStart":191.09999990463257},{"duration":147.7999997138977,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":191.2000002861023,"connectEnd":191.2000002861023,"connectStart":191.2000002861023,"domainLookupEnd":191.2000002861023,"domainLookupStart":191.2000002861023,"fetchStart":191.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":202.09999990463257,"responseEnd":339,"responseStart":337.7000002861023,"secureConnectionStart":191.2000002861023},{"duration":148.69999980926514,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":191.40000009536743,"connectEnd":191.40000009536743,"connectStart":191.40000009536743,"domainLookupEnd":191.40000009536743,"domainLookupStart":191.40000009536743,"fetchStart":191.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":203.09999990463257,"responseEnd":340.09999990463257,"responseStart":339,"secureConnectionStart":191.40000009536743},{"duration":149.59999990463257,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":191.5,"connectEnd":191.5,"connectStart":191.5,"domainLookupEnd":191.5,"domainLookupStart":191.5,"fetchStart":191.5,"redirectEnd":0,"redirectStart":0,"requestStart":204.7000002861023,"responseEnd":341.09999990463257,"responseStart":340.2000002861023,"secureConnectionStart":191.5},{"duration":11.900000095367432,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":191.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":191.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":203.5,"responseStart":0,"secureConnectionStart":0},{"duration":150.2999997138977,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":191.7000002861023,"connectEnd":191.7000002861023,"connectStart":191.7000002861023,"domainLookupEnd":191.7000002861023,"domainLookupStart":191.7000002861023,"fetchStart":191.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":206.5,"responseEnd":342,"responseStart":341.2000002861023,"secureConnectionStart":191.7000002861023},{"duration":13.199999809265137,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":191.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":191.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":205,"responseStart":0,"secureConnectionStart":0},{"duration":152.09999990463257,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":191.90000009536743,"connectEnd":191.90000009536743,"connectStart":191.90000009536743,"domainLookupEnd":191.90000009536743,"domainLookupStart":191.90000009536743,"fetchStart":191.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":207.2000002861023,"responseEnd":344,"responseStart":342.80000019073486,"secureConnectionStart":191.90000009536743},{"duration":127.59999990463257,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":217.5,"connectEnd":217.5,"connectStart":217.5,"domainLookupEnd":217.5,"domainLookupStart":217.5,"fetchStart":217.5,"redirectEnd":0,"redirectStart":0,"requestStart":220.90000009536743,"responseEnd":345.09999990463257,"responseStart":344.09999990463257,"secureConnectionStart":217.5},{"duration":128.80000019073486,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":217.59999990463257,"connectEnd":217.59999990463257,"connectStart":217.59999990463257,"domainLookupEnd":217.59999990463257,"domainLookupStart":217.59999990463257,"fetchStart":217.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":222.90000009536743,"responseEnd":346.40000009536743,"responseStart":345.2000002861023,"secureConnectionStart":217.59999990463257},{"duration":53,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":636.9000000953674,"connectEnd":636.9000000953674,"connectStart":636.9000000953674,"domainLookupEnd":636.9000000953674,"domainLookupStart":636.9000000953674,"fetchStart":636.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":652.7000002861023,"responseEnd":689.9000000953674,"responseStart":688.4000000953674,"secureConnectionStart":636.9000000953674}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":81,"responseStart":158,"responseEnd":217,"domLoading":161,"domInteractive":905,"domContentLoadedEventStart":905,"domContentLoadedEventEnd":955,"domComplete":1285,"loadEventStart":1286,"loadEventEnd":1288,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"64c463f2970d27","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":3,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Given all Scenario has been resolved we can take special characters in state like -,( etc
error message also changed and
state value allows maximum of 50 characters only