-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NAMES/NAMEX expiry date different from Societies Online /Aug 16 /NAMEX /NR 4643704 related to ops - #2991 #17475
Comments
Private Zenhub Image [Uploading... image.png] |
no code changes needed in this case as the conversion of timings/dates is valid, pending to validate if this request can be consumed till 11:59pm or if it expires earlier. |
changed expiration date to 26 sept , oracle db saves as 27 6:59. tested at 12am 27 still could consume the request, tested at 7:30am 27 sept i still can consume the request |
We've encountered another instance where a Society NR is showing an expiry date of "Sept 26" in NAMEX yet Societies Online is stating "end of day Sept. 27". (Citizen states they were attempting to use NR on the 27th as indicated by REGI) |
Clients have raised a concern about the NR expiration time – it has nearly 1 day differences between Name Request and Legacy system. More details please see #17475 NameRequest nro_update job passes an expiration date as yyyyMMdd to NRO_DATAPUMP_PKG.name_examination_func. I think there are two solutions: either we pass expiration date including time info or the set the time to 11:59pm in name_examination_func. Could you please take a look? |
omid is working with home team to confirm the work to be completed on their side. |
@ozamani9gh Here is the email from David Roberts:
|
@Rajandeep98 @eve-git Need to confirm with home team when this work has been implemented, so we can verify its working |
@ozamani9gh @Rajandeep98 @droberts27 Is there an ETA for implementation of this change? Clients are still experiencing the issue. |
Do I have approval to also do a datafix so that the existing data is synchronized? It would be just for Society name requests and would update 466 rows in NAMESP. update request_instance set expiration_date=to_date(to_char(expiration_date,'yyyymmdd')||' 23:59','yyyymmdd hh24:mi') where trunc(expiration_date) >= trunc(sysdate) and request_type_cd='SO'; |
I have applied the following in NAMESD and NAMEST NRO_DATAPUMP_PKG.name_examination_func so that Society name request expiration dates will be the same day but with hours and minutes set to 23:59 if (ri_rec.request_type_cd = 'SO') then |
This is also ServiceNow CHG0031285 which was assigned to me. I will assign it to the Home Team BAs. |
I will also apply the same code change to NRO_DATAPUMP_PKG.update_request_state Instead of only updating request type SO (Society - Incorporation) I have decided to update all the society and extra pro societies request types: ASO Society - Amalgamation |
Datafix and code changes have been done in CDEV and CTST. Ready for testing. I have assigned ServiceNow CHG0031285 to Neeraja for testing. |
When Neeraja examined an NR in TEST the expiry date was set correctly. My code change caused the hours:minutes to be set to 23:59. When Neeraja changed an existing NR expiry date to a new expiry date it was not correct. The date in the postgres namex database was copied to the Oracle namesp database without any date conversion to local time. This results in the expiry date being one day ahead. See columns "NAMES Postgres no conversion" and "NAMES Oracle" in the attached spreadsheet. A modernization developer will need to change the code that updates existing expiry dates as follows: |
#18524 is created for the issue when updating expiration date. |
This issue can now be closed, and the fix will be worked on Ticket #18524 |
Joshua would like us to investigate this EXPIRY DATE difference between two systems issue:
from joshua:
Is there any way to confirm that this isn't a broader issue between NAMEX and REGI? I understand it can be difficult to know without more examples, unfortunately I just have the one.
Patrick Heath's suggestion:
DEVs - could this be another UTC time storage issue?
More details reference to https://github.com/bcgov-registries/ops-support/issues/2991
The text was updated successfully, but these errors were encountered: