umbraco7

Unhandled exception in AppDomain - read past EOF error in Lucene indexing

放肆的年华 提交于 2021-02-11 13:21:15
问题 We've been having a problem with Lucene indexing for a while already. Basically quite often when we try to publish a content the indexing just throws an error like this: 2020-01-13 22:22:38,068 [P36840/D2/TLucene Merge Thread #0] ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating) Lucene.Net.Index.MergePolicy+MergeException: Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown. ---> System.IO.IOException: read past EOF at Lucene.Net

ClientDependency in umbraco doesn't include my bundles

天涯浪子 提交于 2021-01-28 19:34:32
问题 Here is where I call the BundleManager: public class MyUmbracoApplication : UmbracoApplication { protected override void OnApplicationStarted(object sender, System.EventArgs e) { //register custom routes RouteConfig.RegisterRoutes(RouteTable.Routes); CreateBundles(); base.OnApplicationStarted(sender, e); } public static void CreateBundles() { BundleManager.CreateCssBundle("css", new CssFile("~/css/rte.css")); BundleManager.CreateJsBundle("js", new JavascriptFile("/assets/js/custom.js")); } }

ClientDependency in umbraco doesn't include my bundles

我与影子孤独终老i 提交于 2021-01-28 19:20:09
问题 Here is where I call the BundleManager: public class MyUmbracoApplication : UmbracoApplication { protected override void OnApplicationStarted(object sender, System.EventArgs e) { //register custom routes RouteConfig.RegisterRoutes(RouteTable.Routes); CreateBundles(); base.OnApplicationStarted(sender, e); } public static void CreateBundles() { BundleManager.CreateCssBundle("css", new CssFile("~/css/rte.css")); BundleManager.CreateJsBundle("js", new JavascriptFile("/assets/js/custom.js")); } }

AngularJs ng-repeat with thousands of items [closed]

白昼怎懂夜的黑 提交于 2020-12-27 06:22:25
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 15 days ago . Improve this question We are trying to find a solution for displaying 10k checkboxes in the Umbraco back office that rendered with ng-repeat. We've realized that angularJs are not able to perform more than 2500 items in ng-repeat with data-binding. I'm thinking about

AngularJs ng-repeat with thousands of items [closed]

二次信任 提交于 2020-12-27 06:20:00
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 15 days ago . Improve this question We are trying to find a solution for displaying 10k checkboxes in the Umbraco back office that rendered with ng-repeat. We've realized that angularJs are not able to perform more than 2500 items in ng-repeat with data-binding. I'm thinking about

What's the best way to upgrade from umbraco 7.6 to 7.15.1 (including db upgrade)

跟風遠走 提交于 2020-03-05 06:22:26
问题 I am trying to upgrade the site from v 7.6 to v. 7.15.1. I have done the upgrade on localhost which included updating the db. Now I transferred my files from localhost o the test site and on there I am getting an error in log: ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'umbracoUserLogin'. and I can't login to the backoffice. It seems to be looking for umbracoUserLogin on test while it doesn't

Getting error on posting data in Umbraco

◇◆丶佛笑我妖孽 提交于 2020-01-26 02:27:26
问题 Currently I am using both controller for get(RenderMvcController) & post(SurfaceController). But I am getting an error when inserting record in database using Umbraco.Core. Error: "No mapping exists from object type Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent to a known managed provider native type." Model - BaseModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using Umbraco.Web; namespace SampleLogic.Models { public class

Umbraco 7: Get fields from same property based on current page

。_饼干妹妹 提交于 2020-01-25 04:24:10
问题 In my Content section I have a property editor (Archetype) that allows to set content for the site independently from the content tree. It looks like this: I need to display only the sub categories from one category based on what page I'm currently on. What I have now is: var catItems = Umbraco.Content(1123).categoryItem; //get the Set Content property editor from Content Section foreach (var item in catItems) { foreach (var sub in item.GetValue<ArchetypeModel>("subCatItem")) { <div class=

Extend umbraco member with property

烈酒焚心 提交于 2020-01-24 22:23:09
问题 I am developing web site on umbraco and need to store additional information about member(cmsMember). How can I do that? Is there a way to extend umbraco member without changing membership provider? I would like to do something similar to this var datatype = new DataTypeDefinition("varchar"); var type = new PropertyType(datatype); var property = new Property(type); property.Value = myAdditionalInfo; member.Properties.Add(property); memberService.Save(member, false); Code above right now

Umbraco 7 single page application routing

假装没事ソ 提交于 2020-01-17 05:36:08
问题 I have a problem with my single page application made around Umbraco 7. I would like to redirect all requests to AngularJS instead of Umbraco, for that I have added the following urlrewrite to UrlRewriting.config: <add name="SPA" virtualUrl="^~/(?![0-9]+/)([^\?]*?)$" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/" ignoreCase="true" /> But this redirects all responses to AngularJS, so now it not possible to open Umbraco at /umbraco. Does anyone know how to make a