edit-task
Home
Up
Delete
Task Name:
Task Description:
PAGE view/tasks - IF user is ON page# x of x, THEN return user to page# x VS returning user to start of results list
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">UPDATE-011</h1> <p style="text-align: center;">return to same page in record set, after record edit</p> <h2>[previously]</h2> <ol> <li><strong><span style="background-color: #888888;">[2016-08-15]</span>[00:00] NEW task IN</strong></li> <ol> <li>] # 6375 - return to correct page in set after edit</li> <li><strong>[] </strong><a href="/view/task?id=5466" target="_blank"><strong>FEATURE# 3670</strong></a><strong> - </strong><a href="/view/task?id=6375" target="_blank"><strong>011</strong></a> - to return back to the correct/same page in that data set you are currently viewing, EXAMPLE after a record edit on page# x of x, return back to page# x instead of to back to the beginning of the data set</li> <li>] DESC = after editing any item(record), if that item is on page # x of a paginated results list(set), for ex page 3, then user SHOULD get returned to page# x in list after editing the record, NOT to the start of the list(record group) as it currently does. EX p diet/menu-records</li> </ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>] going to add this as task in exsiting FEATURE-3670-PAGINATION</li> <li>] skimmed notes in PAGINATION feature</li> <li>] just going to jump into code, PAGE-view/task</li> </ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>*] FLOW = PG edit/task > redirects to view/tasks</li> <li><span style="background-color: #888888;">x] TO: PAGE view/tasks NOT view/task</span></li> <li><span style="background-color: #888888;">x] ADDED: // FEATURE-3670 var currentPage = Request["startpage"]; //reads startpage from passed in url</span></li> <li>x] EDITed PAGE edit/task - response.redirect - x] APPEND startpage paramater to redirect url</li> </ol> <li><strong>[00:00] NEW task IN CC</strong></li> <ol> <li>x] FIX-PRB-nnn - SERVER-DOWN - control-panel access n/a - almost 2 days - OMFG</li> </ol> <li><strong><span style="background-color: #888888;">[2016-08-17]</span>[00:00] NEW task IN </strong></li> <ol> <li>x] # # - x] ADD comment in files(2) re: edit for PAGINATION</li> <li>x] # # - x] uploaded 2 files, x] 1 - /edit/task, x] 1 - view/tasks</li> </ol> <li><strong>[14:00] NEW task</strong></li> <ol> <li>] # # - TEST-001, result = FAIL, test = view/tasks, select task for edit, make edit and submit, SUSPECT.CAUSE FAIL = PRB after submit, returns to PG view/task, then I click BUTTON view,all and it returns to the beginning of the list, PRB startpage paramater has no value in url</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] # # TRY= changed var name for startpage in PG edit/task to avoid conflict with name in url, var startPage = Request["startpage"]</li> <li>x] UPLOAD</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] # # - TEST-002, result = FAIL, SUSPECT.CAUSE = the edit link is use ON PG view/tasks - list links, doesn't have the "startpage" value in parameters, therefore does not PASS that to the edit page for it to read</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] # # - TRY = changed edit links to include startpage=# value,</li> <li>x] # # - UPLOAD</li> </ol> <li><strong>[00:00] NEW task IN</strong></li> <ol> <li>x] # # - TEST-003, result = PASS, x] this works to append startpage param to edit link on PG view task, x] click edit lne then passes startpage value to edit page, where it is appended to redirect url view/task?id=#&startpage=#, <strong>NEW PRB</strong> = from PG view/task - have no link to access current page listing, BUTTON view/all goes to beginning, LINK taskgroup goes to beginning </li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>] # # - TRY = ] append startpage param on BTN view/all link in code</li> <li>x] SCR toolbar_record.js - x] modify build of "viewAllLink"</li> <li>x] PG view/task - add hidden input for startpage</li> <li>] PRB - links seems to be using same, NOT using the newly modified link,</li> <li>] NOTE - seem to REMEMBER issue with script cacheing, browser wouldn't dload replacement script unless ???,</li> <li>] TEST in 2 browsers, same result</li> </ol> <li><strong><span style="background-color: #888888;">[2016-08-18]</span>[00:00] NEW task </strong></li> <ol> <li>] EDIT - PG view/task - input field, enclose in quotes</li> <li>] SCR - x] add alert(startpage) for testing, ] remove alert </li> <li>] UPLOAD - x] view/task, x] script/toolbar-record</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] # # - <strong>TEST-004 result = PASS,</strong> suspect prb was no quotes around input value store, thus script didnt read val properly, ?? dont know for sure, BUT it's working now,</li> </ol> <li><strong>[00:00] NEW task IN </strong><strong>] REPLICATION / ROLLOUT - S articles</strong></li> <ol> <li>x] EDIT - PG view/article - x] ADD hidden input to store startPage value</li> <li>x] EDIT - PG edit/article - x] ADD var startpage, read from request, x] append startpage value in response.redirect </li> <li>x] EDIT - PG view/articles = x] edit link on each listed article, needs startpage data</li> <li>x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option</li> </ol> <li><strong><span style="background-color: #888888;">[2016-08-19]</span>[00:00] NEW task IN ] REPLICATION / ROLLOUT - O items</strong></li> <ol> <li>x] EDIT - PG view/item - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form, ] ... same edits - all pages</li> <li>x] EDIT - PG edit/item - x] ADD var startpage, read from request, x] append startpage value in response.redirect(), ] ... same ...</li> <li>x] EDIT - PG view/items = x] edit link on each listed article, append startpage data to url, ] ... same ...</li> <li>x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>x] DLOAD ver-prev, all, archive, </li> <li>x] UPLOAD ver-cur all</li> <li>x] TEST item -</li> <ol> <li>x] viewAll sends startpage= undefined,</li> <li>x] TRY change .val to .text on capture code in SCR, goes from undefined to blank</li> <li>x] TRY use hardcoded value for ,this works</li> <li>x] REALIZED - after TSing for 1+ hour, getting frustrated, everything looks right, > I didnt upload the modified (view/item) file, startpage was indeed undefined</li> </ol> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option</li> </ol> <li><strong>[00:00] NEW task IN ] REPLICATION / ROLLOUT - Y step</strong></li> <ol> <li>x] EDIT - PG view/step - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form</li> <li>x] EDIT - PG edit/step - x] ADD var startpage, read from request, x] append startpage value in response.redirect()</li> <li>x] EDIT - PG view/steps = x] edit link on each listed article, append startpage data to url</li> <li>x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>x] DLOAD ver-prev, all, archive, </li> <li>x] UPLOAD ver-cur all</li> <li>x] TEST step - sospep/prj-accel-app/002-interview-questions</li> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option</li> </ol> <li><strong>[00:00] NEW task IN ] REPLICATION / ROLLOUT - P person</strong></li> <ol> <li>x] EDIT - PG view/person - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form</li> <li>x] EDIT - PG edit/person - x] ADD var startpage, read from request, x] append startpage value in response.redirect()</li> <li>x] EDIT - PG view/people = x] edit link on each listed article, append startpage data to url</li> <li>x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>x] DLOAD ver-prev, all, archive, </li> <li>x] UPLOAD ver-cur all</li> <li>x] TEST person - nations/nascar/drivers-occasional</li> <ol> <li>x] PRB - error re: missing class file, fileExportVCF, uploaded .cs file which is work in progress for FEATURE-nnnn</li> <li>x] TRY - upload .cs file, resolves error</li> <li>x] PRB - "export" submit button , location, after submit wipes out "content" section, apologies "justin marks", REM button</li> </ol> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option</li> </ol> <li><strong>[00:00] NEW task IN ] REPLICATION / ROLLOUT - L location</strong></li> <ol> <li>x] EDIT - PG view/location - x] ADD hidden input to store startPage value, x] comment/ref, x] align hidden var form</li> <li>x] EDIT - PG edit/location - x] ADD var startpage, read from request, x] append startpage value in response.redirect()</li> <li>x] EDIT - PG view/locations = x] edit link on each listed article, append startpage data to url</li> <li>x] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>x] DLOAD ver-prev, all, archive, </li> <li>x] UPLOAD ver-cur all</li> <li>x] TEST location - canada/bc/chilliwack</li> <ol> <li>] Missing toolbar ON PG view/location BUT manually entering URL with startpage param works</li> </ol> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option</li> </ol></ol> <h2>[currently]</h2> <ol> <li>]</li> </ol> <h2>[next]</h2> <ol> <li><strong>[00:00] NEW task IN ] DOCUMENTATION PROCESS</strong><ol> <li>] DLOAD current version of page, SAVE to archive</li> <ol> <li>*] i goto D/L, then U/L and the server cp is down, first time like ever</li> </ol> <li>] REPLACE with new version of file(s) with code revisions</li> <li>] TEST - changes, RESULT=??</li> <li>] FILE - ] replaced pages (3)</li> </ol></li> <li><strong>[00:00] NEW task IN </strong><strong>] REPLICATION / ROLLOUT - S articles</strong></li> <ol> <li>] EDIT - PG view/article - x] ADD hidden input to store startPage value</li> <li>] EDIT - PG edit/article - x] ADD var startpage, read from request, x] append startpage value in response.redirect </li> <li>] EDIT - PG view/articles = x] edit link on each listed article, needs startpage data</li> <li>] EDIT script/toolbar-record - x] ADD var startPage, get value from hidden input, x] use val to build viewAll link</li> <li>] DLOAD ver-prev, all, archive, x] UPLOAD ver-cur all</li> <li>] TEST item - ] viewAll sends startpage= undefined,</li> <li>*] NOTE - scripts are not refreshing after upload, use f12 tools, network tab, "always refresh from server option"</li> </ol> <li><strong>> [00:00] NEW task IN</strong></li> <ol> <li>] PRB subjects, tasks - funky misdirect because of incorrect startpage value, EX after copy record, startpage = tgr id(par id)</li> <li>] Missing toolbar ON PG view/location, ] retest locations code</li> <li>] ADD default values(db) for locatation ] url, ] telephone</li> </ol></ol>