project-anuvaad / Project-Saral

Project Saral should be viewed as an OCR-plus application that is capable of doing OCR and can also understand the structure of the physical input.
MIT License
0 stars 1 forks source link

Frontend: Mark Absent Present UI Integration #63

Closed dileep-gadiraju closed 2 years ago

dileep-gadiraju commented 2 years ago

Frontend: Mark Absent Present UI Integration. Refer Swagger documentation after https://github.com/project-anuvaad/Project-Saral/issues/62 developed and integrate with frontend.

dileep-gadiraju commented 2 years ago

Absent/present functionality not working. it shows possible unhandled Promise rejection error.

dileep-gadiraju commented 2 years ago

Absent/Present functionality is not working currently.

dileep-gadiraju commented 2 years ago

Marks Absent/Present is failing with the below error:

Possible Unhandled Promise Rejection (id: 1): │ TypeError: undefined is not an object (evaluating 'scanedData.data.length') │ _callee$@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:147268:46 │ tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:23401:23 │ invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:23571:32 │ tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:23401:23 │ invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:23473:30http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:23483:21 │ tryCallOne@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28076:16http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28177:27http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28692:26 │ _callTimer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28588:17 │ _callImmediatesPass@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28627:17 │ callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:28837:33callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:3054:35http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:2832:34guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:3037:15 │ flushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.saralapp&modulesOnly=false&runModule=true:2831:21 │ flushedQueue@[native code] └ invokeCallbackAndReturnFlushedQueue@[native code]

dileep-gadiraju commented 2 years ago

@apurvabisht97 , please close this after ur full fledged testing.

apurvabisht97 commented 2 years ago

integration of absent/present from frontend is working correctly . Case1:- When we are marking any student as absent then we are not able to scan marks for that particular student . Case2:- When if students marks is saved in db and local storage and we will try to mark it as absent then it will give validation error .