https://discord.umbraco.com
Join Discord
CORS Policy not working and accepting all domain
n

Nilay

about 1 year ago
I am using https://github.com/nikcio/Nikcio.UHeadless Graphql package. I want to restrict url using CORS Policy but still allowing any url Code file attached @Nikcio https://cdn.discordapp.com/attachments/1263083137563496480/1263083138423193632/message.txt?ex=6698f157&is=66979fd7&hm=84e3c54e1782653c89ce16a681a16870877deff3289e1507ea0ff66b4316f842&
n
m
n
  • 3
  • 9
  • 69
Tailwind and Vite
m

Mario Lopez

about 1 year ago
Not strictly an Umbraco question, but does anybody know how to set up tailwind in Vite? I'm following the Umbraco docs to create a new package. The Tailwind docs explain it in a very concise way. I.e. how does it know where the css is located? The issue in having is that no css is generated. I reckon Tailwind build doesn't run, as all the configuration to content files is correct.
m
d
  • 2
  • 5
  • 69
Umbraco IIS - 403 Error
j

Jaden F

over 1 year ago
Hi, One of or customers is running Umbraco on a IIS 10 Windows Server 2019 machine, we moved the website over and imported the MSSQL database dumps and everything has worked fine for a few days. However, all of a sudden, when you go to domain.com/umbraco - it shows a blank white page. The website displays fine, apart from some elements now showing a 403 forbidden error. I have rebooted the server, recycled the IIS AppPool and checked permissions - all seem in order. Does anyone have any advice on how to resolve this? Thanks!
j
  • 1
  • 1
  • 69
Apostrophe in user's mail causes issues
m

m1k1ot1

over 1 year ago
We're running 11.1.0 Umbraco version. The issues are that user with apostrophe in email can't register, and those already in database can't change password (returns following error:Invalid UserName). It doesn't seem to have any issues assigning values to properties (e.g. Password reset token). MemberService and MemberManager both seem to be able to retrieve member using said invalid email without a problem. Is there anything we can do to avoid or fix these issues or should we submit this issue on Github and wait for it to get fixed?
m
h
  • 2
  • 2
  • 69
Integration testing controller action fails to create required services
c

crashtestdev

over 1 year ago
I was following the guide on unit testing https://docs.umbraco.com/umbraco-cms/implementation/integration-testing#testing-from-controller-to-database after getting to the point around setting up unit tests for a controller, I had setup a tetsing project as per the guide (with the UmbracoTestServerTestBase) and created a class that inherits from UmbracoTestServerTestBase with a single blank test,:
c#
    [TestFixture]
    public class UsersControllerTests : UmbracoTestServerTestBase
    {
        [Test]
        public async Task EnsureSuccessStatusCode()
        {
        }
    }
This seems to fail every time, showing a load of services failed to be created:
System.AggregateException : Some services are not able to be constructed
If I change the inherited type to UmbracoIntegrationTest this however runs fine. Is there extra steps I am missing to get this to work?
c
d
l
  • 3
  • 4
  • 69
Umbraco Cloud deployment failed - Lock request time out period exceeded
s

si26

over 1 year ago
Hi all, just wondering if anyones come across a "System.Data.SqlClient.SqlException (0x80131904): Lock request time out period exceeded." error when deploying to a live environment on Umbraco Cloud? I'm getting it on a work item, but its quite a small change so I'm not sure why it would have failed
Message:
Work 6e4aac8a-93b4-4c2a-bb36-e614e0fe9df9 has failed.

                                    
Exception:
Umbraco.Deploy.Exceptions.ProcessArtifactException: Process pass #0 failed for artifact umb://document-type/95e25898016b43c9a003a20408b887cb. ---> System.Data.SqlClient.SqlException: Lock request time out period exceeded.
The statement has been terminated.
This is the data revision \data\revision\document-type__95e25898016b43c9a003a20408b887cb.uda
"Alias": "selectCourses",
          "DataType": "umb://data-type/041ef8220e5540609bafd64b5743485f",
          "Description": "Choose up to 6 courses", -- removed 
          "Description": "Choose up to 10 courses", --added
          "Mandatory": true,
          "MandatoryMessage": "", --removed 
          "MandatoryMessage": "Please add between 1 and 10 courses", --added
          "Name": "Select courses",
          "SortOrder": 3,
          "Validation": null,
s
s
  • 2
  • 1
  • 69
Any possibilities to "folder" or "group" content without affecting the URL?
d

D_Inventor

almost 2 years ago
Our client has many content pages directly below home. The content gets difficult to manage. They would like the ability to create a folder or somehow group the content together to keep the content tree clean. I found Virtual Nodes for Umbraco 8. However, we run on Umbraco 10. The marketplace doesn't seem to have anything either when I search for "folder" or "virtual". So, is there anything out there that I can use or a code snippet I can implement? It is essential that the pages keep the same URL as it already has.
d
s
+2
  • 4
  • 6
  • 69
Error on fresh install
c

Conner

about 1 year ago
error:invalid_request
error_description:The specified 'redirect_uri' is not valid for this client application.
error_uri:https://documentation.openiddict.com/errors/ID2043
Using docker, sql and umbraco in separate containers using network. As enter sql connection details and hit install, I am met with this error.
c
h
  • 2
  • 4
  • 68
Fatal Server Error v14.1.1
b

bh

about 1 year ago
Happens when I add a new node or try to open any previously created node I get this red alert notification. "Factory returned model of type Umbraco.Cms.Web.Common.PublishedModels.Home which does not implement IPublishedContent. A fatal server error occurred. If this continues, please reach out to your administrator."
b
a
  • 2
  • 3
  • 68
Authorized Services and Salesforce
s

StormGlass

about 1 year ago
I need some help with connecting Salesforce and my Umbraco (v13) frontend. The idea is to display product information from SF on public pages. I am trying to use the Umb Authorized Services package to handle the connection to the SF connected app. I can get the initial connection to work properly but cannot get it to persist. Does anyone have experience doing something similar that would be willing to share some insights into both SF and Umb configs?
s
p
j
  • 3
  • 10
  • 68
Previous323334Next

Umbraco

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

Powered by