Developer forum

Forum » Rapido » A few Rapido wishes

A few Rapido wishes

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have experienced with Rapido so far and I have found a few things that might be useful to solve.

1. In Master.cshtml and MasterBlocks/References.cshtml there are a few paths hardcoded to point to the Rapido template. That is a bit troublesome when you have multiple websiotes/templates in the same solution. it would be nice to have the paths dynamic

2. In ParagraphContainer.cshtml there is no check if there are actually paragraphs added, resulting in a Razor error in the front-end. I agree that the admins should be careful with that, but it won't hurt to add an additional check and avoid the front-end errors.

3. In Page.cshtml (this is something found in Rapido 3.0 but unconfirmed yet in Rapido 3.1) you get a razor error if Left menu option is not selected or if the ItemType for the page is set incorrectly. It would be nice to have an additional check here as well and provide a default value if none is set

4. Also not confirmed in Rapido 3.1 but repeatedly found in Rapido 3.0, when retrieving the initials of the user (in the header of the page and my account), if the user does not have all necessary fields field, it returns a razor error. An additional check here would be useful for situations where the users come from the ERP and data is inconsistent.

Thank you,

Adrian


Replies

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Adrian

It is very important for us to do prober null checks. Thank you for your findings.

  1. A bug report has been created. And the solution will be in the next hot fix.
  2. I am not sure I fully understand this. The paragraphs comes throug a loop. If there is 0 paragraphs, then they will simply not be rendered.
  3. A bug report has been created. And the solution will be in the next hot fix.
  4. The code that builds initials does do a lot of different things to calculate it. We will look into optimizing it, and see if wee miss a null check.

 

Best regards
Karsten Thuen

 

 

You must be logged in to post in the forum