https://discord.umbraco.com
Join Discord
[Issue Opened] v13 weird timezone issue on SQL Server Express vs SQLite
o

Owain Jones

over 1 year ago
Hi, I just ran into this issue in v13.2.2, I created some code that shows the elapse time since a Node has been Published, by converting the Update Date to UTC and subtracting it's Ticks from DateTime.UtcNow.Ticks, to get the time difference in seconds. (can then convert that to minutes ago, hours ago, and days ago etc...) Whenever I work with DateTime calculations, I always convert to UTC to make sure the dates I'm manipulating match up. This all works fine, but the Create Date and Update Date that Umbraco returns, is different depending on if I run SQLite or SQL Server Express!
o
k
  • 2
  • 20
  • 60
Broken Links Finder Plugin
n

nobody7781

over 1 year ago
I want to develop a plugin that shows what links on Umbraco are broken, so the user can fix them. I created a custom Dashboard, but now I need to create the controllers that will tell me what links are broken, by either looking into the database or crawling the website. My question is, where should I place the files? Is there any convection for that? What plugins usually do?
n
l
  • 2
  • 4
  • 60
Solved: Umbraco Commerce 14.1.1: PollyExecutionStrategyBase.ExecuteAsync is suddenly always null
a

Aaron Sawyer

11 months ago
having a sudden issue with Umbraco Commerce this morning. Doing anything in he Umbraco Commerce backoffice or front end is failing with a server error: System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Commerce.Infrastructure.Resiliency.PollyExecutionStrategyBase.ExecuteAsync[TResult](Func`2 operation, Func`2 verifySucceeded, CancellationToken cancellationToken) at Umbraco.Commerce.Core.UmbracoCommerceUnitOfWorkProvider.ExecuteAsync[T](IUnitOfWorkOptions options, Func`3 action, CancellationToken cancellationToken) As for what has changed recently, I have only added a new payment provider class, and it was working yesterday after the payment provider was built. Note: just tested upgrading to Umbraco Commerce 14.1.1, same issue https://cdn.discordapp.com/attachments/1293579292936241152/1293582071758848101/image.png?ex=6707e5af&is=6706942f&hm=9291704961c344c8418a2f465b52725da660322153c56a1c875a058c61890f03&
a
  • 1
  • 5
  • 59
uSync timeout pusing content from production to staging
s

Steffen Nielsen

12 months ago
Hi folks, One of our customers are trying to push a content section of over 700 pages from their production environment to their staging environment. This normally works fine with smaller batches, but with someting as large as this, they get the following error: /umbraco/uSyncReceive/uSyncReceiveApi/ImportPackFolder timed out to after 200013ms ---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 200 seconds elapsing. I have tried to find where to increase this timeout, in the hopes that they will be able to move the content in once, instead of having to split up the process. Thanks in advance.
s
k
  • 2
  • 5
  • 59
Can RCL Static Assets be overriden ?
m

Mike Chambers

about 1 year ago
Should packages that deliver assets as
staticwebassets
in a
razor class library
support overriding the embedded static asset with a local physical file or is it just razor files that are supported? I did find https://learn.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-8.0&tabs=visual-studio#override-views-partial-views-and-pages
When a view, partial view, or Razor Page is found in both the web app and the RCL, the Razor markup (.cshtml file) in the web app takes precedence.
If static assets can also be overridden then I'm struggling to get it to work by having a file in
App_Plugins\{PACKAGENAME}\Views\{FILENAME}.html
I've checked the
Microsoft.AspNetCore.StaticWebAssets.Props
file in the nuget package and the
<BasePath>App_Plugins/{PACKAGENAME}</BasePath>
is correct and the asset is in the
staticwebassets/Views/{FILENAME}.html
in the package but don't seem to be able to override with the corresponding physical file on disk? Cheers all.
m
w
+2
  • 4
  • 52
  • 59
Issue with configuring Umbraco from Azure App Configuration
d

Delo

about 1 year ago
Good morning, I am having a very strange issue with Umbraco. we have recently made a push to move our configuration out of app settings and into azure app configuration and key vault for secrets. I have set up a dev environment that has the usual local dev settings that everyone in my team can use. the connection string for Umbraco db is now stored there. when the conn string is in the old appsettings it works fine but when it's only from the azure provider it asks me to install Umbraco db. usual conn string for local development Server=.;Database=DbName;User Id=sa;Password=PasswordHere;MultipleActiveResultSets=true;TrustServerCertificate=True debugging I can see the config provider fine. I can see it being used in the AddUmbraco() extension when I debug it (Downloaded the source code and pointed to it instead of the nuget to get the symbols etc). However when it goes into the AddBackOffice() extension it seems to be pulling in a completely different IConfiguration. I'm not sure where it's coming from and it only contains the appsettings.json, and not my azure one that i passed into the original builder. can anyone advice if there's some way to force it to use the configuration I provided?
d
k
s
  • 3
  • 63
  • 59
Import database in Umbraco Cloud?
t

TackleMcClean πŸ…

over 1 year ago
We are running Umbraco self hosted. I can export the database as either a .bak file or via Azure Data Studio make a bacpac file. I now would like to import this data to the dev environment SQL server in Umbraco Cloud, as we are moving from self hosted to Umbraco Cloud. I am trying to follow the guide in the documentation: https://docs.umbraco.com/umbraco-cloud/databases/backups#restoring-a-cloud-backup-to-a-sql-server-database However, I can't import a bacpac onto the one and only existing dev database there, SSMS throws an expected error: > The database 'pwmvp2j3pkv' already exists on the target instance of SQL Server. Specify a database name that does not already exist. I can't import it to a new database either, an Umbraco Cloud user can't create SQL databases willy nilly. Is there any other approach that works instead? We will have to do this import process multiple times (for ensuring migration will work, and later for ACTUAL migration) and we can't do it a single time as it stands right now. 😦
t
w
c
  • 3
  • 12
  • 59
UUI/UMB Dropdown button ?
k

Kevin Jump

over 1 year ago
Quick sanity check, i might be UUI blind. is there anything equvialnt to a button with dropdown elements in the existing UI / CMS UI libraries ? or is it a case of rolling your own with button-grroups, buttons and dropdowns ?
k
w
n
  • 3
  • 4
  • 59
Home page displaying blank all of a sudden
a

accele

over 1 year ago
Hi, my home page is displaying blank all of a sudden after having made no changes to anything. I've turned off all google chrome extensions, tried different browsers and also tried republishing the site, any ideas? https://cdn.discordapp.com/attachments/1203708033562058823/1203708033767710790/image.png?ex=65d21377&is=65bf9e77&hm=2d642bca276bc5a537543baae8a06b0b800290c4f5d98a34463beca43e5c6e24&
a
r
r
  • 3
  • 13
  • 59
{SOLVED] Add field to internal index (internal search) v10
s

SiempreSteve

over 1 year ago
Have a code field that the admins would like to use in the Umbraco internal backoffice search. I've tried adding this field to the internal index (pretty sure that's what's used in the internal search?). I can see this code getting hit on startup but doesn't seem to affect the search results. Can anyone spot any issues? using Examine; using Examine.Lucene; using Microsoft.Extensions.Options; using Umbraco.Cms.Core; using Umbraco.Cms.Core.Composing; namespace ZZ.Web.v10.Extensions { public class ConfigureInternalIndexOptions : IConfigureNamedOptions { public void Configure(string name, LuceneDirectoryIndexOptions options) { if (name.Equals(Constants.UmbracoIndexes.InternalIndexName)) { options.FieldDefinitions.AddOrUpdate(new FieldDefinition("code", FieldDefinitionTypes.FullText)); } } public void Configure(LuceneDirectoryIndexOptions options) { throw new System.NotImplementedException(); } } public class ExamineComposer : IComposer { public void Compose(IUmbracoBuilder builder) { builder.Services.ConfigureOptions(); } } }
s
j
s
  • 3
  • 5
  • 59
Previous373839Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by