Giter Club home page Giter Club logo

bundlingandminificationforthemasses's People

Contributors

jeavon avatar timgeyssens avatar warrenbuckley avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

bundlingandminificationforthemasses's Issues

Style of labels for each providers

I have installed Optimus 1.4.0 in Umbraco 7.4.1 ... and after install it suggest to install providers.

image

I Umbraco 7.4.0 the labels seems to have changed style, so by default they use display: block; ... so you might want to use display:inline-block; instead.

Broken on 7.3

The package manager complains about HtmlAgilityPack.dll, if I ignore that error, then I get a YSOD - Attempt by security transparent method 'System.Web.Http.GlobalConfiguration.get_Configuration()' to access security critical type 'System.Web.Http.HttpConfiguration' failed.

Error when upgrading to umbraco 7.2.2 and other issues

We have just tried to upgrade to Umbraco 7.2.2 right from 7.2.1.

Optimus 1.2.1 was running just fine for the 7.2.1 version.

During the upgrade process, right after all manual file copies and merges of .config files, when browsing the site for the first time in order to finish the update, the process stalled. We could not get further than the page /umbraco/AuthorizeUpgrade?redir=%2finstall%2f%3fredir%3dtrue%26url%3dhttp...

The page AuthorizeUpgrade innerly requested the file /DependencyHandler.axd?s= which was throwing HTTP 500 Internal Server Errors. In ~/app_data/logs/UmbracoTraceLog.txt we could see errors like the following each time we tried to refresh the page:

2015-02-20 13:16:33,984 [46] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 48] An unhandled exception occurred
System.InvalidOperationException: Esta operación no se admite en un URI relativo.
en System.Uri.get_PathAndQuery()
en ClientDependency.Core.CompositeFiles.Providers.BaseCompositeFileProcessingProvider.WritePathToStream(ClientDependencyType type, String path, HttpContextBase context, StreamWriter sw)
en ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider.<>c__DisplayClass3.b__0(String s)
en System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() en System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
en System.Collections.Generic.List1..ctor(IEnumerable1 collection)
en System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) en ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider.CombineFiles(String[] filePaths, HttpContextBase context, ClientDependencyType type, List1& fileDefs)
en ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes, OutputCachedPage page)
en ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The only workaround we found to finish the upgrade to 7.2.2 was to disable the optimisations (setting debug="true" in web.config). After this change the upgrade was able to finish. However...

When we tried to set debug="false" back in web.config Umbraco backend stopped working again (the site contents were served, but the backend was not available because of this error). So we are running it now in debug="true" mode.

Another weird thing that happens when debug is enabled, that might help pinpoint the source of the error (or errors) are the following:
A. If, from the backend, we browse to Settings->Bundling->Scripts and click on any of the existing bundles, the background request to /App_Plugins/Optimus/Index?virtualPath=... fails with an HTTP 401 You must login to view this resource.

B. If we try to créate a new bundle, right clicking on Scripts (for instance, it fails for Styles too), and select + Create, the inner request made to /umbraco/create.aspx?nodeId=1&nodeType=scriptBundle&nodeName... returns with HTTP 500 Internal Server Error.

In this latter case, the error logged in UmbracoTraceLog.txt was:

2015-02-20 14:22:54,987 [30] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 57] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Se produjo una excepción de tipo 'System.Web.HttpUnhandledException'. ---> System.ArgumentException: The create dialog for "scriptBundle" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
en umbraco.cms.presentation.Create.OnLoad(EventArgs e)
en System.Web.UI.Control.LoadRecursive()
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.HandleError(Exception e)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.ProcessRequest()
en System.Web.UI.Page.ProcessRequest(HttpContext context)
en ASP.umbraco_create_aspx.ProcessRequest(HttpContext context) en c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\6ffd8b37\ea6ae51a\App_Web_create.aspx.5f2dec3.lfwndyig.0.cs:línea 0
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Newtonsoft Json.NET Version Mismatch (Umbraco 7.7.8)

I've recently setup an Umbraco 7.7.8 site from scratch, and when installing Optimus from the Package Manager, I received an error or two on setting up. Unfortunately, I didn't copy the errors at the time, but if they'd be helpful, I can setup another dummy site and try an install again.

Regardless, I found that the issue is that Umbraco 7.7.8 (not sure about other versions) appears to ship with Newtonsoft Json.NET version 6.x, whereas I believe Optimus here requires Json.NET 10.x. I manually copied in version 10.x over the 6.x version that was in my Umbraco install and the issues went away. It's operating as it should now that I've manually updated the libraries. Not sure if there is a way to automatically update those through your setup in the Package Manager or otherwise. Let me know if you need any more information, thank you!

Editor Ctrl+S support or at least keep Save button in view

Please add Ctrl+S support to the SASS editor (I would assume others also, but I'm only using SASS).

If nothing else, at least keep the save button in view. Otherwise, we're stuck having to scroll all the way up and click Save when editing files any longer than your monitor can display without scrolling.

As a temporary fix, I wrapped the editor in a scrollable div, for example:

<div class="umb-scrollable row-fluid">
    <umb:PropertyPanel runat="server" ID="EditorPanel">
            <umb:CodeArea runat="server" ID="EditorSource" EditorMimeType="text/x-sass" AutoResize="true" OffSetX="47" OffSetY="47"  />
    </umb:PropertyPanel>
</div>

Thanks for a great package otherwise!

Broken in 7.5

Installing the latest Optimus core package into Umbraco 7.5 appears to work fine until you go to create a new bundle. Here's the error - http://screencast.com/t/0vvICacSWm.

I also received an error at one point about bundles.config not existing (I worked around this by cloning and renaming bundles.tmp.config.

Optimus 1.4.0 not working well with Umbraco 7.3.4

Hi, I have installed the package Optimus v1.4.0 in Umbraco v7.3.4 but it isn't working right. When I add a new bundle, it doesn't show in the tree afterwards and it doesn't let me add scripts into it. Are you aware of any incompatibilities with this version of umbraco? Thanks

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.