Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

291404

Trigger Send verification code: Add External user

Trigger Send Report Status Update Email: Start new report or Finish existing report

MailKit

https://github.com/jstedfast/MailKit#using-mailkit

29755

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=29755

29755 Master Report Preview all annual reports and fuel consumption in a single Report Excel doc

29755_Master_Report_Preview_all_annual_reports_and_fuel_consumption_in_a_single_Report_Excel_doc

...

Data:

Code Block
123TrainLongName - Annual Report 2024 -  Ultra-low sulphur diesel (ULSD)	123456
123TrainLongName - Annual Report 2023: (orgId=176, reportId=215)
Freight	Natural Gas	13
Freight	Low-sulphur diesel (LSD)	12
Commuter	Low-sulphur diesel (LSD)	11

MarkCompany - Annual Report 2023: (orgId=136, reportId=207)
Freight  Natural Gas 14L 
Passenger Ultra-low sulphur diesel (ULSD) 12L 
Commuter Low-sulphur diesel (LSD) 13L

242783 NLB Link redirect to the wrong page-Jul19

Org

Year

Kind

Rec

Cert

CN

2022

Year-Prepopulated-Required

2268

CN

2021

Year-Preview-Completed

2401

CPR

2022

N/A

CPR

2021

Year-Preview-Completed

1412

CMQ

2022

Year-Preview-Completed

38

CN+CPR

2021

Company Reports

2401+1409 = 3810

CN-ULSD=1504972000

CPR-ULSD=886600074

CPR-ULSD=72584

29761

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=29761

...

254537

254537 Fuel consumption decimal on the certify page, new error message when comas and points are used in the wrong language

...

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31600

231243 TC Mailer

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=231243

...

On Internal Security https://eig.tc.gc.ca/leisa-asiel, (https://eigdev.tc.gc.ca/leis-siel) when we try to add an external

URLs:

/wiki/spaces/MAR/pages/268238916

Libraries and Installs - Security Applications and Digital Identity (Solutions Centre) - Confluence (atlassian.net)

(warning) Create External User: Using external email in dev env

Code Block
{"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"}

-		ex	{"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"}	System.Exception {MailKit.Net.Smtp.SmtpCommandException}
+		Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
		ErrorCode	RecipientNotAccepted	MailKit.Net.Smtp.SmtpErrorCode
		HResult	-2146233088	int
		HelpLink	"https://github.com/jstedfast/MailKit/blob/master/FAQ.md#ProtocolLog"	string
+		InnerException	null	System.Exception
+		Mailbox	{"tsizism@gmail.com" <tsizism@gmail.com>}	MimeKit.MailboxAddress
		Message	"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"	string
		Source	"MailKit"	string
		StackTrace	"   at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at MailKit.MailTransport.Send(MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at LEIS.Security.Web.Providers.VerificationMailer.SendVerificationEmailViaViaMailKit(String email) in C:\\github\\DSD-RAIL-LEIS\\315887\\DSD-RAIL-LEIS\\Development\\LEIS.Security.Web\\Providers\\VerificationMailer.cs:line 41"	string
		StatusCode	MailboxUnavailable	MailKit.Net.Smtp.SmtpStatusCode
+		TargetSite	{System.String Send(MimeKit.FormatOptions, MimeKit.MimeMessage, MimeKit.MailboxAddress, System.Collections.Generic.IList`1[MimeKit.MailboxAddress], System.Threading.CancellationToken, MailKit.ITransferProgress)}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31347

App

Reference

TCMailer.ini

Service Reference

Usage

Deployment

LEIS.Business

.\LEIS.Business\

Support\TC Mailer 3.0.dll

.\LEIS.Business\

Support\TCMailer.ini

N/A

N/A

Internal Business:

\\ncrws548\TPwwwroot\eigdev\leis.Business.Server.Installer\Release

LEIS.Business.Web

.\LEIS.Security\

Support\TC Mailer 3.0.dll

N/A

\LEIS.Business.Web\Service References\TCMailerWS\

.\LEIS.Business.Web\Providers\

ReportStatusProvider.cs::

SendReportStatusNotification(…)

.\LEIS.Business.Web\Providers\ReportStatusProvider.cs::

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

\\ncrws548\TPwwwroot\eigdev\leis-siel\bin\TC Mailer 3.0.dll

LEIS.Security

.\LEIS.Security\Support\TC Mailer 3.0.dll

.\LEIS.Security\Support\TCMailer.ini

.\LEIS.Security\Service References\TCMailerWS\

(called from LEIS.Security.Web)

.\LEIS.Security\Messaging\VerificationMailer.cs::

SendVerificationEmail(…)

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

Internal Security:

\\ncrws548\TPwwwroot\eigdev\LEIS.Security.Server.Installer\Release\LEIS.Security.Server.Internal.Installer.msi

Bin folder content : TBD

LEIS.Security.Web

\LEIS.Business\Support\TC Mailer 3.0.dll

N/A

N/A

.\LEIS.Security.Web\Controllers\ProfileController.cs::

viewModel.EmailVerificationCode = _securityProvider.SendEmailVerificationCode(viewModel.User.Email);

.\LEIS.Security.Web\Controllers\UsersController.cs::

viewModel.EmailVerificationCode = _securityProvider.SendEmailVerificationCode(viewModel.User.Email);

.\LEIS.Security\Messaging\VerificationMailer.cs::

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

\\ncrws548\TPwwwroot\eigdev\leisa-asiel\bin\TC Mailer 3.0.dll

248536

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=248536

...

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31171

245729 and 266747

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=245729

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=266747

245729 Edit on User Details page causes a crash 500 when saved

On the Users section / User details page, the Edit Contact Information (phone number) and Edit Emails causes an error 500 when saved.

The exception is

{"An item with the same key has already been added."}

Some more info:

https://stackoverflow.com/questions/5648060/an-item-with-the-same-key-has-already-been-added

To Fix:

Add the following to ‘<form method="post" …’ : @Html.HiddenFor(m => m.User, new { Value = "" })

...

Adjust controller’s Get and Post methods

245729

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31079

266747

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/33586

Stack Example

Code Block
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)\r\n   
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)\r\n   
at System.Web.Mvc.ModelBindingContext.get_PropertyMetadata()\r\n   
at System.Web.Mvc.DefaultModelBinder.BindProperty(ControllerContext controllerContext, ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor)\r\n   
at System.Web.Mvc.DefaultModelBinder.BindProperties(ControllerContext controllerContext, ModelBindingContext bindingContext)\r\n   
........
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)"

210110

210110 Decimals are not retained in the French spreadsheet (,.)

...