https://discord.umbraco.com
Join Discord
Umbraco 11 to 12 Upgrade
t

tommot2582

about 2 years ago
Hi all, I'm trying to upgrade an umbraco site from 11.5 to 12.0 but I'm getting the following error: The database failed to upgrade. ERROR: The database configuration failed with the following message: The migration plan does not support migrating from state "{2CA0C5BB-170B-45E5-8179-E73DA4B41A46}". This error occurred going from 10.7 to 11.0, but was resolved upgrading to 11.5.0 instead but this approach doesn't work with v12.
t
s
+2
  • 4
  • 7
  • 84
[Solved] How to search for a date
c

Craig100

about 2 years ago
Umb 10.6.1 I have a search page which works fine for strings but I need to search for a date. The date comes as a string formatted yyyy-MM-dd. When I search for say 1965-05-02 I seem to get all records where the date has any of the numbers in it. I was just wondering how it's stored in the Examine Indexes. In the Settings section, if I do a search, I can see dates are shown as 02/05/1965 00:00:00 but I don't know if that's as a string or a DateTime object. Is it just a case of rearranging my incoming date string to match the Examine Index string or do I need to convert the incoming string to a DateTime object and search with that? Thanks.
c
h
+3
  • 5
  • 47
  • 84
Headless Umbraco - Crop Zoom
s

Sebastian Pierre

about 1 year ago
Is it possible to get the crop zoom when fetching images in a headless app (SvelteKit) from umbraco (v13)? Check the images for: 1. My crop settings 2. What the result looks like on the page 3. The helper that generates the rxy from the coordinates. So to summarize it looks like the x and y might be fine, but the zoom does not seem to tag along, or am I missing something here or am I doing it wrong? https://cdn.discordapp.com/attachments/1288857518520533076/1288857519200141355/image.png?ex=66f6b59a&is=66f5641a&hm=bc74561a53cad69695b0213df579259509a3352d1e872ce1cfb98fae242d5dcb& https://cdn.discordapp.com/attachments/1288857518520533076/1288857519921303612/image.png?ex=66f6b59a&is=66f5641a&hm=cd4f63c428142e584f7a57d69e68f949d627356526691b0e2448025e8ff1dec2& https://cdn.discordapp.com/attachments/1288857518520533076/1288857520219230359/image.png?ex=66f6b59a&is=66f5641a&hm=37bc40f46a229fe35872642cc28fbb8d5805cc639a0939fa60206f81d155d432&
s
k
b
  • 3
  • 6
  • 83
Could not load form with id 00000000-0000-0000-0000-000000000000
r

Rob Schall

over 1 year ago
Version: Umbraco 12 We have an element that accepts a Form Selector and a Theme Selector. We then render it in a blocklist using the following syntax:
@(await Component.InvokeAsync("RenderForm", new { formId = Model.Form, theme = Model.Theme, includeScripts = false }))
This does render the form as expected, however, when we submit it, we get the following error:
System.InvalidOperationException: Could not load form with id 00000000-0000-0000-0000-000000000000
   at Umbraco.Forms.Web.Controllers.UmbracoFormsController.HandleForm(FormViewModel model)
   at lambda_method826(Closure, Object, Object[])
We've also tried the following syntax
<umb-forms-render form-id="@Model.Form.Value" theme="@Model.Theme" exclude-scripts="false" />
This resulted in the same issue (displays fine, but fails on submission with the same error). When we use the macro inside the richtext editor, it works without issue. I've removed the only custom form workflow we had going to confirm that wasn't affecting anything. Any thoughts what else could cause this?
r
l
  • 2
  • 6
  • 83
uSync (Free Version) - Media Files Content Doesn't Sync
j

jasee

12 months ago
Versions: Umbraco 13.5.2 and uSync (free) 13.2.4 Scenario: I have 3 instances of our Umbraco App. In-network development, Azure Staging slot, and Azure Production slot. Issue: If I, or a user, creates a page, and the doc type has one ore more Media Pickers, whether a single picker, or a nested repeat of Media Pickers, uSync doesn't sync the media file (Ie., Image). It displays as trashed or missing on the instance uSync is used to import into after copying uSync files to the destination instance. I have read some things here and there regarding uSync and Media Pickers, but I'm not finding solid information on how to remedy this. I'm currently ditching the uSync package all together in favor of instructing content being done on the production site, so that we're not losing content/media.
j
k
  • 2
  • 1
  • 82
change umbraco backoffice path in v13
b

Bishal Tim

over 1 year ago
I am trying to change the backoffice path ('/umbraco/...') so i can accesse Umbraco using a different path like "mysite/something"
b
r
  • 2
  • 2
  • 82
Oauth1 libraries for .net core 8, Do they exist?
t

Tom Chance

over 1 year ago
Hey all! Been asked to scope out connecting a site to an API that uses OAuth1 (One legged) authentication headers. However, trying out a few of the old "tried and tested" packages from days of old has shown that most arent actually up to scratch for .net core 8, typically old dependencies or vaulted repos that cant be accessed anymore. Anyone know of any nice Oauth1 packages out there to simplify the process? Dont really fancy creating my own serialization / deserialization handler for it, but if I must, I must πŸ˜…
t
a
  • 2
  • 4
  • 82
[Solved] Where to put a JSON file for processing?
c

Craig100

over 1 year ago
V13.2.2 I have a data import facility on an Umbraco site that, locally, takes a json file in the root of the project folder (i.e. Web/) and processes it. Now that the project has been deployed, the file structure is totally different and the file doesn't get hit at all. It's ended up in the root of the website files along with all the DLLs. My question is, where can I put it on the server (shared hosting), so it's not publicly accessible but can be hit. Here's the code that works locally:-
var jsonData = System.IO.File.ReadAllText("myfile.json");
Nice and simple and just works. Is there an equivalent in the deployed scenario? Thanks.
c
a
  • 2
  • 3
  • 82
EditorModelEventManager.SendingContentModel in v13?
j

jonroberts

almost 2 years ago
Is this still avilable to use in version 13? public void Initialize() { EditorModelEventManager.SendingContentModel += EditorModelEventManager_SendingContentModel; }
j
c
  • 2
  • 2
  • 82
cache buster on javascript entrypoint
m

Markus Johansson

over 1 year ago
I'm looking at how to package a Razor Class Library as a package. I'm building with Vite and using a js file as "entry point". It looks to me as the fact that Vite would create file names like "App_Plugins/MyPackage/dist/en-us-FreAp4rx.js" would facilitate cache-busting for any "sub modules", but have anyone created something that adds a cache buster for the entry point? I mean the first file that is requests, eg. /App_Plugins/MyPackage/dist/my-package.js I thinking about adding a version number or something to the umbraco-package.json file but wanted to check if anyone else have other ideas? Might be good if the core itself added the package version number as cache buster? Just thinking out loud πŸ˜„ EDIT: This is reg. v14 πŸ˜„
m
d
+3
  • 5
  • 15
  • 81
Previous313233Next

Umbraco

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

Powered by