arunmr1980 / academic-integrator

academic integration code
0 stars 0 forks source link

Lesson plan session link getting cleared. #183

Closed Vishnu-Raveendran123 closed 2 years ago

Vishnu-Raveendran123 commented 3 years ago

Login Info + Browser Details: http://demo.admin.greenchalk.in/academics/curriculum

Actual Behaviour: While creating a lesson plan, add a link and link name, save the form, Once we click on the edit lesson plan the link getting cleared.

Steps to Reproduce:

  1. Navigate to LESSON PLAN
  2. Click on 'View Subject Plan'
  3. Create a lesson plan with a link and link name
  4. Save the plan
  5. Click on 'Edit Lesson Plan'
  6. Check the link field
  7. Link getting cleared

Screenshot: image

sreenath004 commented 3 years ago

@Vishnu-Raveendran123 Please include URL and request.

Vishnu-Raveendran123 commented 3 years ago

REQUEST URL: http://lessonplan-api-uat.greenchalk.net:8092/lessonplan-ws/lessonplan

REQUEST: {"topics":[{"code":"TOPpdylivoche01","name":"Test1 ","order_index":1,"topics":[{"code":"SEC4d9gq4id0","name":"Topic 1 ","description":"

test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test vvvvv

","assignments":[],"resources":[{"code":"SEC-L0ni7x7ss1"}],"order_index":1,"sessions":[{"code":"SESgfd941r0","name":"Session 1","description":"

test test test test

","resources":[{"code":"SES-L6dnjp35d1"}],"order_index":1,"completion_datetime":"NA"}]}]}],"resources":[{"code":"SEC-L0ni7x7ss1","link":"www.google.com","name":"Google","publishable":false,"type":"WEB_LINK"},{"code":"SES-L6dnjp35d1","link":"www.test.com","name":"test","publishable":false,"type":"WEB_LINK"}],"subject_code":"che01","class_key":"001606045086584640EA76683C-7C35-4406-A77D-447A2B670CC61138920447","division":"A"}

RajiRPillai commented 3 years ago

the link in the resource s getting removed from the record after sending the sqs. it is an academic integrator issue.

Queue url : https://sqs.us-west-2.amazonaws.com/272936841180 Queue name : academic-integrator-q.fifo before sending to sqs!{QueueUrl: https://sqs.us-west-2.amazonaws.com/272936841180/academic-integrator-q.fifo,MessageBody: {"lesson_plan_keys":["001631247096843859AA15274A-8553-4DB6-B968-B132DBA52584193723626"],"request_type":"LESSONPLAN_CALENDAR_SYNC"},MessageAttributes: {},MessageDeduplicationId: tnv5sqryetp,MessageGroupId: academic-integrator-q.fifo}

pritysamuel1 commented 2 years ago

22/03/22 - Sreenath will work on this issue

pritysamuel1 commented 2 years ago

23/03/22 - Development is completed

pritysamuel1 commented 2 years ago

24/03/22 - Tested and Verified

pritysamuel1 commented 2 years ago

Links are removing in production @sreenath004 please check