enterspeedhq / enterspeed-source-umbraco-cms Goto Github PK
View Code? Open in Web Editor NEWEnterspeed integration for Umbraco
Home Page: https://www.enterspeed.com/
License: MIT License
Enterspeed integration for Umbraco
Home Page: https://www.enterspeed.com/
License: MIT License
I'm gonna start out by saying that this is the first time im trying to run a content seed from umbraco to enterspeed - so bare with me if there's something I've missed!
But,
When trying to seed data it looks like i'm getting errors in RTE fields where I have macros.
Exception Failed creating entity (1295/en-us). Message: The Umbraco.Web.Macros.PartialViewMacroEngine cannot execute with a null HttpContext.Current reference.. StackTrace: ved Umbraco.Web.Macros.PartialViewMacroEngine.<.ctor>b__2_0() i D:\a\1\s\src\Umbraco.Web\Macros\PartialViewMacroEngine.cs:linje 26 ved Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content) i D:\a\1\s\src\Umbraco.Web\Macros\PartialViewMacroEngine.cs:linje 71 ved Umbraco.Web.Macros.MacroRenderer.<>c__DisplayClass17_0.<ExecuteMacroOfType>b__0() i D:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:linje 342 ved Umbraco.Web.Macros.MacroRenderer.ExecuteProfileMacroWithErrorWrapper(MacroModel macro, String msgIn, Func
1 getMacroContent, Func1 msgErr) i D:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:linje 313 ved Umbraco.Web.Macros.MacroRenderer.ExecuteMacroWithErrorWrapper(MacroModel macro, String msgIn, String msgOut, Func
1 getMacroContent, Func1 msgErr) i D:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:linje 272 ved Umbraco.Web.Macros.MacroRenderer.ExecuteMacroOfType(MacroModel model, IPublishedContent content) i D:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:linje 339 ved Umbraco.Web.Macros.MacroRenderer.Render(MacroModel macro, IPublishedContent content, IDictionary pageElements) i D:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:linje 245 ved Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.<>c__DisplayClass7_0.<RenderRteMacros>b__1(String macroAlias, Dictionary
2 macroAttributes) i D:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:linje 64 ved Umbraco.Web.Macros.MacroTagParser.ParseMacros(String text, Action1 textFoundCallback, Action
2 macroFoundCallback) i D:\a\1\s\src\Umbraco.Web\Macros\MacroTagParser.cs:linje 196 ved Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.RenderRteMacros(String source, Boolean preview) i D:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:linje 70 ved Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.Convert(Object source, Boolean preview) i D:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:linje 96 ved Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, Object inter, Boolean preview) i D:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:linje 78 ved Umbraco.Core.Models.PublishedContent.PublishedPropertyType.ConvertInterToObject(IPublishedElement owner, PropertyCacheLevel referenceCacheLevel, Object inter, Boolean preview) i D:\a\1\s\src\Umbraco.Core\Models\PublishedContent\PublishedPropertyType.cs:linje 221 ved Umbraco.Web.PublishedCache.NuCache.Property.GetValue(String culture, String segment) i D:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\Property.cs:linje 211 ved Enterspeed.Source.UmbracoCms.V8.Extensions.PropertyExtensions.GetValue[T](IPublishedProperty property, String culture) ved Enterspeed.Source.UmbracoCms.V8.Services.DataProperties.DefaultConverters.DefaultRichTextEditorPropertyValueConverter.Convert(IPublishedProperty property, String culture) ved Enterspeed.Source.UmbracoCms.V8.Services.EnterspeedPropertyService.ConvertProperties(IEnumerable1 properties, String culture) ved Enterspeed.Source.UmbracoCms.V8.Services.EnterspeedPropertyService.GetProperties(IPublishedContent content, String culture) ved Enterspeed.Source.UmbracoCms.V8.Handlers.EnterspeedContentPublishJobHandler.CreateUmbracoContentEntity(IPublishedContent content, EnterspeedJob job)
How to replicate:
Redirects returns null, when the content is published and sent to Enterspeed.
This is what is sent to Enterspeed:
{
"redirects": [
null,
null
],
}
Where as the two nulls are actual redirects.
When saving preview data with Umbraco 9 connector, it does not include picked unpublished content in 'Multi-node tree picker' property.
I think it should work similar as 'Content picker' #42
Hi Guys,
EnterspeedJobRepository.Delete
action is throwing an exception when dealing with a large amount of id's.
In a scenario when an Umbraco installation have 3 languages:
One of the website in the installation only uses 2 of the languages, and not the default language:
And when using a invariant by culture property:
The result is that the property value ingested into Enterspeed is not ingested properly:
This could be something to do with the the way Enterspeed forces a culture on every property getValue:
When you install the Enterspeed Umbraco integration into your Umbraco solution, it will throw an exception when you press save or save and publish.
Add a check if Enterspeed is configured in Umbraco and if it is not yet configured, exit the listeners to avoid sending data to Enterspeed that is unable to process.
Based on this line, word src, make
Hey Enterspeed.
The UmbracoRichTextParser does not respect relative paths in the media domain set in the Umbraco backoffice.
It should be as simple as joining the 2 URL paths.
Something like:
...
foreach (var imageNode in imageNodes)
{
var src = imageNode.GetAttributeValue("src", string.Empty);
if (src.StartsWith("/media/"))
{
var relativePath = Path.Join(mediaDomainUrl.AbsolutePath, src);
imageNode.SetAttributeValue("src", new Uri(mediaDomainUrl, relativePath).ToString());
}
}
...
Regards
Malthe
Hi Guys,
relying on cache refreshers is not great as umbraco will send this notifications on following events:
The implementation of the repeatable string editor cases failures in Umbraco 13. It can be fixed pretty easily with the change below:
IEnumerable<string> items = property.GetValue<IEnumerable<string>>(culture);
The error:
Unable to cast object of type 'System.Linq.EmptyPartition`1[System.String]' to type 'System.String[]'.
Some customers experience that the URLs send to the Enterspeed Ingest API is relative, even though the site node's Culture and hostname setting only contains one hostname.
A work around is to not use any of the public hostnames for the Umbraco backoffice, but I would suspect that the Enterspeed Integration could be updated to handle this case for the customers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.