Open abin-aot opened 7 months ago
@divyav-aot , @antsand : Please wait for 9.2 to release to complete to push to test-marshal
File "/app/request_api/services/events/state.py", line 110, in __commentmessage comment = comment + f". Approved by {signgoffapproval['approvername']}, {signgoffapproval['approvertitle']} on {signgoffapproval['approveddate']}" TypeError: 'NoneType' object is not subscriptable above error also fixed as part of this ticket.
Further improvement can be added for below components. This can be taken as another tech debt. foi-flow: DivisionalStages foi-docreviewer: DocumentPageFlags
Increasing the effort as it includes more changes and e2e testing.
Did regression testing. Noticed that Event queue is not working. Need to fix that. @antsand
@nimya-aot event queue issue is fixed. please retest and let us know.
@divyav-aot its working now
Title of ticket:
Description
The purpose of this ticket is to remove, clean and optimize the way we use Master Data related ENUMs on the FOI FLOW , Document Reviewer code components. The idea is to avoid using
AUTO GENERATED ID
s on the ENUM, and use theDATA LABEL and/or CODE
on ENUM, CONSTANTS - so while running BE migrating script if the next expected available value is not generated, then it should not break code and/or avoid updating IDs into the DB tables to match the sequence. Can discuss more in details!Dependencies
Are there any dependencies?
DOD
back end
andfront end
on FOI FLOW and DOI DOCREVIEWER - List down the ENUM, Constants with Database ID references. Say like -Request statuses
,Notification Types
etc.DATA LABEL
COLUMN on the source tables. TBD cc: @abin-aot ! [FOIRequestStatuses, FOIMinistryRequests, FOIRawRequests, FOIRequestTeams]DATA LABEL
COLUMN on the source tables. TBD cc: @abin-aot ! [NotificationTypes, NotificationUserTypes, FOIRequestNotification, FOIRequestNotificationUser]DATA LABEL
COLUMN for view (v_FOIRequests)DATA LABEL
COLUMN for view (v_FOIRequestsNotification / NotuficationUsers)