PDA

View Full Version : [CLOSED] SVN EXT.net 2.2



snow_cap
Oct 29, 2013, 4:01 PM
Dears,

Now am having a problem with getting the latest from svn, I have installed tortoise.

Before I was able to get the latest from the svn but am not sure am getting the latest data,yesterday I updated the solution from svn I received revision 5449,but after testing the ext.net in my solution I realized it is an old revision ,the date shows shadows in rtl mode and the fileuploadfield wasn't working properly knowing that these issues were fixed and working before.
Now today I tried to update my solution from svn I received revision 5452.
Is there anything am doing wrong?

What am doing to get an update from the svn is right click on the folder of ext.net 2.2 and clicked svn update.

Sorry but we use the TFS and am not that much familiar with svn and your help would be highly appreciated.

Thank you

geoffrey.mcgill
Oct 29, 2013, 6:29 PM
Hello,

It appears you are doing everything correct.

The current Revision number is #5458.

Location is http://svn.ext.net/premium/trunk/

Your credentials are correct and still valid (I just checked).

Maybe try to Update again in a few minutes. Maybe a restart of your machine might help.

Keep us updated.

Daniil
Oct 30, 2013, 5:24 AM
Hi @snow_cap,

Also please double ensure that the new dlls are actually applied to your project.

snow_cap
Oct 30, 2013, 12:53 PM
Ok thank you guys now the question should I move to ext.net 2.3 or should I stay with 2.2?

Daniil
Oct 30, 2013, 1:55 PM
Well, v2.3 is more stable than v2.2 and has many improvements and additions:
http://www.ext.net/2013/10/01/official-ext-net-2-3-release-now-available/

snow_cap
Nov 13, 2013, 4:47 PM
Guys,

Am still facing the same issue,I've updated the source code even I took a new version from the svn with revision 5475.

Am still getting bugs which where fixed in an earlier revision

Bugs reported:


Panel loader url not a valid virtual path.
DateField shows shadow in RTL mode.


Ext.net.dll version is :2.2.0.35174

Thanks

Daniil
Nov 14, 2013, 2:43 AM
Ext.net.dll version is :2.2.0.35174

It is the old version. The latest should start with "2.3.1".

Here is the SVN link.
http://svn.ext.net/premium/trunk/

snow_cap
Nov 14, 2013, 6:02 AM
yes i know that but am still using the version 2.2,so I understand that the version 2.2 is no more supported?

Daniil
Nov 14, 2013, 6:10 AM
Well, yes, we don't fix bugs for the v2.2 release.

Any fixes goes to the trunk. Then we release from the trunk at some point and go further.

Why do you not want to update to v2.3?

snow_cap
Nov 14, 2013, 6:17 AM
Here is an example of what am facing ,I moved to version 2.3 from the svn:


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ESNET.Templates.WebForm1" %>

<!DOCTYPE html>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server"></ext:ResourceManager>
<ext:Viewport runat="server" Layout="Fit" >
<Items> <ext:Panel ID="Panel1" runat="server" >
<Loader Url="http://www.ext.net" Mode="Frame"></Loader>

</ext:Panel></Items>

</ext:Viewport>
</form>
</body>
</html>


Results:

'http://www.ext.net' is not a valid virtual path.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: 'http://www.ext.net' is not a valid virtual path.

Source Error:



An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Daniil
Nov 14, 2013, 6:27 AM
I cannot reproduce.

Seems a similar issue here:
http://forums.asp.net/t/1168862.aspx

It might depend on browser. Is it reproducible in all the browsers for you?

snow_cap
Nov 14, 2013, 6:38 AM
I tested that in IE 10,google chrome and firefox and they give the same error

Daniil
Nov 14, 2013, 6:41 AM
Please post the exception's stack trace.

snow_cap
Nov 14, 2013, 6:42 AM
[HttpException (0x80004005): 'http://www.ext.net' is not a valid virtual path.]
System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11287063
System.Web.VirtualPathUtility.IsAppRelative(String virtualPath) +14
Ext.Net.ExtNetTransformer.ResolveUrl(String url) +50
Ext.Net.ClientConfig.ToExtConfig(Object obj, ConfigOption configOption) +9518
Ext.Net.ClientConfig.Process(Object obj) +1008

[Exception: Error during ClientConfig initialization. Url - 'http://www.ext.net' is not a valid virtual path.]
Ext.Net.ClientConfig.Process(Object obj) +2276
Ext.Net.ClientConfig.Serialize(Object obj, Boolean ignoreCustomSerialization, Boolean quoteName) +1776
Ext.Net.ClientConfig.Serialize(Object obj, Boolean ignoreCustomSerialization) +357
Ext.Net.ClientConfig.Serialize(Object obj) +63
Ext.Net.BaseControl.get_InitialConfig() +168
Ext.Net.BaseControl.OnClientInit(Boolean reinit) +3221
Ext.Net.Observable.OnClientInit(Boolean reinit) +71
Ext.Net.BaseControl.SetResources() +399
Ext.Net.BaseControl.PreRenderAction() +134
Ext.Net.Observable.PreRenderAction() +470
Ext.Net.BaseControl.Render(HtmlTextWriter writer) +764
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +240
System.Web.UI.WebControls.WebControl.RenderContent s(HtmlTextWriter writer) +13
Ext.Net.BaseControl.HtmlRender(HtmlTextWriter writer) +1516
Ext.Net.BaseControl.Render(HtmlTextWriter writer) +1801
Ext.Net.AbstractContainer.Render(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +240
System.Web.UI.WebControls.WebControl.RenderContent s(HtmlTextWriter writer) +13
Ext.Net.BaseControl.HtmlRender(HtmlTextWriter writer) +1516
Ext.Net.BaseControl.Render(HtmlTextWriter writer) +1801
Ext.Net.AbstractContainer.Render(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer) +253
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +87
System.Web.UI.HtmlControls.HtmlForm.RenderControl( HtmlTextWriter writer) +53
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +240
System.Web.UI.Page.Render(HtmlTextWriter writer) +38 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240

snow_cap
Nov 14, 2013, 6:47 AM
The error is thrown on this line:


return VirtualPathUtility.IsAppRelative(url) ? VirtualPathUtility.ToAbsolute(url) : url;

snow_cap
Nov 14, 2013, 6:50 AM
Forgot to tell you am using .net framework 3.5,I guess this might be the issue because it uses system.web version 2.0.0.0

snow_cap
Nov 14, 2013, 6:57 AM
I fixed the above issue for the time being by doing this in the ExtNetTransformer.cs class :


public static string ResolveUrl(string url)
{
#if MVC
return System.Web.Mvc.UrlHelper.GenerateContentUrl(url, new HttpContextWrapper(HttpContext.Current));
#else

try
{
return VirtualPathUtility.IsAppRelative(url) ? VirtualPathUtility.ToAbsolute(url) : url;
}
catch (Exception)
{


return url;
}

#endif
}

Daniil
Nov 14, 2013, 12:10 PM
Thank you for that.

We will consider fixing that in SVN.

Daniil
Nov 23, 2013, 6:30 AM
It has been fixed in the trunk and will go to the next release (v2.4).