Giter VIP home page Giter VIP logo

laser.orchard.platform's People

Contributors

agostinialessandro avatar andreapiovanelli avatar diegomarguerettaz avatar ficopola avatar giuseppemusso-laser avatar hermessbicego-laser avatar lazzarosimone avatar lorenzofrediani avatar lorenzofrediani-laser avatar marcoviglione-laser avatar matteopiovanelli-laser avatar matteoronco-laser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laser.orchard.platform's Issues

Does the GDPR cookie banner even work?

Dear developers,

Does the GDPR cookie banner used in here even work?

I tried cloning the repo, but it keeps missing methods like Retrieve, Store among others... Interfaces like IOrchardServices, IDependency etc...

Help is appreciated.

Sincerely,
munchkindev

Syntax issue when chaining tokens

Example: {Content.Parameter:TitlePart-Title).Slug}
This syntax is not very clear, because the parenthesis has not been opened in the token anywhere. Also, it may clash with some tokens that take their parameters in parenthesis.

I am not sure whether this issue is in every other definition of tokens. It may be worse if it isn't, because a fix would likely be breaking for existing configurations.

CulturePicker on controller actions

Looks like the culture picker does not correctly find that the localized version for a page corresponding to a controller action exists.
Example:
If I am on a /Users/Account/Register page, in English, the culture picker set to only show localized content will not show that there are other localizations of that page

Culture Picker Setting

Test done on a tenant with 4 languages, after setting the culture picker settings "Show only languages of translated contents", we did the fe test and we realized that the culture picker did not work correctly, ie in content that they had the translation in Italian and English the culture picker only proposed the language of the displayed content,
After checking the general site settings, we realized that the base url was configured with the http protocol instead of https.
By setting the https protocol, the culture picker started to work correctly.

Migration fails if records are already in the database

var templates = _contentManager.Query<TemplatePart, TemplatePartRecord>().List();

Note that doing Query() is terrible because it fetches ALL CONTENT ITEMS and then filters, in memory, for those that have the Part attached. Adding TRecord would cause a Join to pre-filter out a bunch of stuff. However, using a TRecord causes the migration to fail if the schema is changed later (e.g. if we add a field/column to that record in a later migration).
A different way to fetch fewer content items then is to filter on the content types that have a TemplatePart.

Laser.Orchard.UsersExtensions/AKUserActions/RegisterSSL: Riferimento a un oggetto non impostato su un'istanza di oggetto.

retro steps:

  • register new user with Laser.Orchard.UsersExtensions/AKUserActions/RegisterSSL API

Collection Postman to test
https://lasersrl-my.sharepoint.com/:u:/g/personal/patrick_negretto_laser-group_com/ES0rzswpx0RKu-qqf9_DoCsBIrVfWwQYbjxZijrALXYEQQ?e=0bJoGW

The response is 500 with this error on HTML page

[NullReferenceException: Riferimento a un oggetto non impostato su un&#39;istanza di oggetto.] System.Web.Mvc.DefaultModelBinder.BindProperty(ControllerContext controllerContext, ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor) +1180 System.Web.Mvc.DefaultModelBinder.BindProperties(ControllerContext controllerContext, ModelBindingContext bindingContext) +143 System.Web.Mvc.DefaultModelBinder.BindComplexElementalModel(ControllerContext controllerContext, ModelBindingContext bindingContext, Object model) +63 System.Web.Mvc.DefaultModelBinder.BindComplexModel(ControllerContext controllerContext, ModelBindingContext bindingContext) +1739 System.Web.Mvc.DefaultModelBinder.UpdateCollection(ControllerContext controllerContext, ModelBindingContext bindingContext, Type elementType) +605 System.Web.Mvc.DefaultModelBinder.BindComplexModel(ControllerContext controllerContext, ModelBindingContext bindingContext) +1716 System.Web.Mvc.DefaultModelBinder.GetPropertyValue(ControllerContext controllerContext, ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor, IModelBinder propertyBinder) +31 System.Web.Mvc.DefaultModelBinder.BindProperty(ControllerContext controllerContext, ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor) +483 System.Web.Mvc.DefaultModelBinder.BindProperties(ControllerContext controllerContext, ModelBindingContext bindingContext) +143 System.Web.Mvc.DefaultModelBinder.BindComplexElementalModel(ControllerContext controllerContext, ModelBindingContext bindingContext, Object model) +63 System.Web.Mvc.DefaultModelBinder.BindComplexModel(ControllerContext controllerContext, ModelBindingContext bindingContext) +1739 System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor) +459 System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +136 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__19(AsyncCallback asyncCallback, Object asyncState) +1151 System.Web.Mvc.Async.WrappedAsyncResultBase1.Begin(AsyncCallback callback, Object state, Int32 timeout) +166
System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +463
System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) +42
System.Web.Mvc.Async.WrappedAsyncVoid1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73 System.Web.Mvc.Async.WrappedAsyncResultBase1.Begin(AsyncCallback callback, Object state, Int32 timeout) +166
System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +906
System.Web.Mvc.Async.WrappedAsyncResultBase1.Begin(AsyncCallback callback, Object state, Int32 timeout) +166 System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +711 System.Web.Mvc.MvcHandler.&lt;BeginProcessRequest&gt;b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +93 System.Web.Mvc.Async.WrappedAsyncVoid1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73
System.Web.Mvc.Async.WrappedAsyncResultBase1.Begin(AsyncCallback callback, Object state, Int32 timeout) +166 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +502 System.Threading.Tasks.TaskFactory1.FromAsyncImpl(Func4 beginMethod, Func2 endFunction, Action1 endAction, TArg1 arg1, Object state, TaskCreationOptions creationOptions) +824 Orchard.Mvc.Routes.&lt;&lt;ProcessRequestAsync&gt;b__0&gt;d.MoveNext() +294 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Orchard.Owin.&lt;&lt;UseOrchard&gt;b__0_0&gt;d.MoveNext() +323 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Orchard.SecureSocketsLayer.Services.&lt;&lt;GetOwinMiddlewares&gt;b__8_1&gt;d.MoveNext() +516 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Orchard.Mvc.Routes.&lt;ProcessRequestAsync&gt;d__5.MoveNext() +582 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +128

VirtualContent: policies fields incorrectly filtered

When content required are protected by policies and user have not accepted, the response on "l" key don't contain all content item fields but they are incorrectly filtered with "mfilter" parameters.

https://team00.mykrake.com/Laser.Orchard.WebServices/Json/GetByAlias?lang=it-IT&realformat=true&mfilter=game,gamepart,gallery,activitypart,autoroutepart,titlepart,bodypart&no-cache=625741120.501513&displayAlias=elenco-protected-valid-games&pageSize=0&complexbehaviour=returnnulls&page=0

This problem has already been reported in the past, I think it is a regression!

Perf: WidgetContainer

https://github.com/LaserSrl/Laser.Orchard.Platform/blob/593edf00dd4c47bdd9d45af35681121c8b038a3a/src/Modules/Contrib.Widgets/Services/WidgetManager.cs#LL26C31-L26C31

What I think this is doing:

We should test whether any of those additional Loading queries is firing. I suppose so, and some of this may be partly responsible for the slowdowns we are seeing, because we tend to use a lot of these widgets everywhere. In WidgetService (https://github.com/LaserSrl/Orchard/blob/95a5782d725f00dc168e4e7f53bd5a88102eb7f2/src/Orchard.Web/Modules/Orchard.Widgets/Services/WidgetsService.cs#L74) They use QueryHintsto expand theCommonPart`. It may be wort to test whether that helps our cases.

Maps: Language should be consistent with the current language

When the API script is rendered, we have to make the map's language consistent with the current page language.
GoogleMaps: the querystring parameter language ("&language={CurrentLanguage}") should be added in order to
OSM: To be verified if it is possible
OpenLayers: To be verified if it is possible

Going in detail, we should decide if we want the parameter to be optional (expanfing the existing site setting).

AKExternal/TokenLogon: Always set en-US on favorite user culture

When I try to logged in with external provider, the user seem to be created with wrong favorite culture. User have the tenant default culture and not the value present on query string.

https://team00.mykrake.com/AKExternal/TokenLogon?Language=it-IT&lang=it-IT&__provider__=xxxxxx

The user edit on back-end doesn't work, when I change the favorite language and I save it, seem never update content.

I can't try with registerssl for the issue #14

Missing dependency - Nwazet integration

Enabling NwazetIntegration the tenant breaks. It could be a missing dependency in module.txt?

None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Laser.Orchard.NwazetIntegration.Drivers.ProductVatConfigurationPartDriver' can be invoked with the available services and parameters:
Cannot resolve parameter 'Nwazet.Commerce.Services.IVatConfigurationService vatConfigurationService' of constructor 'Void .ctor(Nwazet.Commerce.Services.IVatConfigurationService, Nwazet.Commerce.Services.IVatConfigurationProvider, Nwazet.Commerce.Services.IProductPriceService)'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.