<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/castleproject/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/castleproject/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 19 Jun 2012 18:28:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/castleproject/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Items registered in child are not injected</title><link>https://sourceforge.net/p/castleproject/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Items that are registered only in child containers and not in parent container result in the following error when used as a dependency: Can't create component '&amp;lt;Type&amp;gt;' as it has dependencies to be satisfied.&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;
interface ITest&lt;br /&gt;
{&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;class Test : ITest&lt;br /&gt;
{&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public class Tester&lt;br /&gt;
{&lt;br /&gt;
public Tester(ITest testObject):&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public class Main(IWindsorContainer container)&lt;br /&gt;
{&lt;br /&gt;
IWindsorContainer child = new WindsorContainer();&lt;br /&gt;
container.AddChildContainer(child);&lt;br /&gt;
child.Register(Component.For&amp;lt;IText&amp;gt;().ImplementedBy&amp;lt;Test&amp;gt;());&lt;br /&gt;
Tester t = child.Resolve&amp;lt;Tester&amp;gt;();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Since the parent did not contain a reference for ITest, Tester will not be able to resolve because the parent container does not have the dependency.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 19 Jun 2012 18:28:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6ebcefc42a7f30802badbe194700bf211a05c886</guid></item><item><title>Error registering a FileStream instance</title><link>https://sourceforge.net/p/castleproject/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Castle Windows is not handling an invalid operation exception while introspecting a FileStream - the Stream ReadTimeout and WriteTimeout properties are defined to throw an exception for derived classes that do not support timeouts.&lt;/p&gt;
&lt;p&gt;Here's my code:&lt;/p&gt;
&lt;p&gt;var container = new WindsorContainer();&lt;br /&gt;
container.Register(Component.For&amp;lt;IStreamSource&amp;gt;().ImplementedBy&amp;lt;StreamTailer&amp;gt;());&lt;br /&gt;
Stream fs = new FileStream(args[0], FileMode.Open, FileAccess.Read, FileShare.ReadWrite);&lt;br /&gt;
container.Register(Component.For&amp;lt;Stream&amp;gt;().Instance(fs).);&lt;br /&gt;
IStreamSource tailer = container.Resolve&amp;lt;IStreamSource&amp;gt;();&lt;br /&gt;
container.Register(Component.For&amp;lt;IStreamSource&amp;gt;().Instance(tailer));&lt;/p&gt;
&lt;p&gt;The last line above throws an exception and kills the app.  Here's the stack trace:&lt;/p&gt;
&lt;p&gt;Application exiting due to unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: Timeouts are not supported on this stream.&lt;br /&gt;
at System.IO.Stream.get_ReadTimeout()&lt;br /&gt;
--- End of inner exception stack trace ---&lt;br /&gt;
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct&amp;amp; sig, MethodAttributes methodAttributes, RuntimeType typeOwner)&lt;br /&gt;
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)&lt;br /&gt;
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)&lt;br /&gt;
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br /&gt;
at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)&lt;br /&gt;
at Castle.Core.ReflectionBasedDictionaryAdapter.GetPropertyValue(Object target, PropertyInfo property)&lt;br /&gt;
at Castle.Core.ReflectionBasedDictionaryAdapter.Read(IDictionary targetDictionary, Object valuesAsAnonymousObject)&lt;br /&gt;
at Castle.Core.ReflectionBasedDictionaryAdapter..ctor(Object target)&lt;br /&gt;
at Castle.Windsor.WindsorContainer.Resolve[T](Object argumentsAsAnonymousType)&lt;br /&gt;
at ConsoleApplication1.Program.Main(String[] args) in C:\Users\rizzuto\p4root\SDMPNeovestAdapter\ProofOfConcept\Program.cs:line 36&lt;br /&gt;
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&lt;br /&gt;
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br /&gt;
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;
at System.Threading.ThreadHelper.ThreadStart()&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 14 Feb 2012 16:09:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6e627baedea9ee7838082dae69a5242eb0d9f0f3</guid></item><item><title>BadImageFormatException</title><link>https://sourceforge.net/p/castleproject/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;using System;&lt;br /&gt;
using Castle.Core.Interceptor;&lt;br /&gt;
using Castle.DynamicProxy;&lt;br /&gt;
using NUnit.Framework;&lt;br /&gt;
using System.Collections.Generic;&lt;/p&gt;
&lt;p&gt;namespace Pharmatechnik.Apotheke.XTplus.Framework.TestLibrary.Tests {&lt;br /&gt;
public interface IPersistenceQuery2&amp;lt;TResult&amp;gt; {}&lt;/p&gt;
&lt;p&gt;public interface IBOBase2 {}&lt;/p&gt;
&lt;p&gt;public interface ITest1 {&lt;br /&gt;
List&amp;lt;TBase&amp;gt; Find&amp;lt;TBase, T&amp;gt;(IPersistenceQuery2&amp;lt;T&amp;gt; query) where TBase : class where T : class, TBase, IBOBase2;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public interface IDummyFactory {}&lt;/p&gt;
&lt;p&gt;public class Test2 {&lt;br /&gt;
private readonly IDummyFactory[] _factories;&lt;/p&gt;
&lt;p&gt;public Test2(IDummyFactory[] factories) {&lt;br /&gt;
_factories = factories;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public class Interceptor : IInterceptor {&lt;br /&gt;
public void Intercept(IInvocation invocation) {&lt;br /&gt;
invocation.Proceed();&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public interface ITest3 {&lt;br /&gt;
T New&amp;lt;T&amp;gt;(params Action&amp;lt;T&amp;gt;[] actions) where T : class;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public class Test3 : ITest3 {&lt;br /&gt;
private readonly Test4 _test4;&lt;/p&gt;
&lt;p&gt;public Test3(Test4 test4) {&lt;br /&gt;
_test4 = test4;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public virtual T New&amp;lt;T&amp;gt;(params Action&amp;lt;T&amp;gt;[] actions) where T : class {&lt;br /&gt;
_test4.Execute();&lt;br /&gt;
return default(T);&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public class Test4 {&lt;br /&gt;
public virtual void Execute() {}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;[TestFixture]&lt;br /&gt;
public class DP2Troubles {&lt;br /&gt;
[Test]&lt;br /&gt;
public void BadImageFormatException_CreateInterfaceProxyWithoutTarget_Case1() {&lt;br /&gt;
var generator = new ProxyGenerator();&lt;br /&gt;
generator.CreateInterfaceProxyWithoutTarget&amp;lt;ITest1&amp;gt;();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;[Test]&lt;br /&gt;
public void MissionMethodException_CreateClassProxy_Case2() {&lt;br /&gt;
var generator = new ProxyGenerator();&lt;br /&gt;
generator.CreateClassProxy(typeof (Test2), new IInterceptor[] {new Interceptor()}, new IDummyFactory[] {});&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;[Test]&lt;br /&gt;
public void BadImageFormatException_CreateClassProxy_Case3() {&lt;br /&gt;
var generator = new ProxyGenerator();&lt;br /&gt;
var test3 = (Test3) generator.CreateClassProxy(typeof (Test3), new IInterceptor[] {new Interceptor()}, new Test4());&lt;br /&gt;
test3.New&amp;lt;object&amp;gt;();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Mitterer</dc:creator><pubDate>Tue, 23 Jun 2009 13:46:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6639d717d65f5de1296a2f6c9c6d73a9d4811613</guid></item><item><title>Sequence schema name</title><link>https://sourceforge.net/p/castleproject/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When we decorate a class property using the Castle.ActiveRecord.PrimaryKeyAttribute with PrimaryKeyType.Sequence option, there's no way to define its schema name.&lt;/p&gt;
&lt;p&gt;I thought that the sequence would be created at the same schema specified at the ActiveRecordAttribute, but I noticed that this assertive is not true.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nâmio Evangelista Sousa</dc:creator><pubDate>Fri, 08 Feb 2008 12:34:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net83f4b179b9290040c249fa0737da608df9f3edcf</guid></item><item><title>missing "ActiveRecordHooksBase.cs" in </title><link>https://sourceforge.net/p/castleproject/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For Castle.ActiveRecord-2.0 this file is not included&lt;br /&gt;
in the project.&lt;/p&gt;
&lt;p&gt;The file does exists there however.&lt;/p&gt;
&lt;p&gt;Ged&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 27 Feb 2006 09:58:24 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net962bd09584fd3c43e382c157651ec57d213a29da</guid></item><item><title>missign file in source "Castle.Windsor.Configuration.Interpr</title><link>https://sourceforge.net/p/castleproject/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;"Castle.Windsor.Configuration.Interpreters.XslProcessor.xslt"&lt;br /&gt;
is missing in the source.&lt;/p&gt;
&lt;p&gt;I loaded it using .NEt 2.0 project. The backup that it&lt;br /&gt;
creates when it does a solution and project conversion&lt;br /&gt;
alos does not contain it.&lt;/p&gt;
&lt;p&gt;Ged&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 27 Feb 2006 09:26:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net291f35cb2e305789fb0aa215f5a249c01241c680</guid></item><item><title>Dictionary parameter not work</title><link>https://sourceforge.net/p/castleproject/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dictionary parameter not work, a bug in&lt;br /&gt;
ConfigurationParametersInspector.cs&lt;/p&gt;
&lt;p&gt;please change ConfigurationParametersInspector.cs  line 51&lt;/p&gt;
&lt;p&gt;IConfiguration parameterValue = parameter.Children[0];&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt;IConfiguration parameterValue = parameter;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 30 Jul 2005 10:54:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcc453bdbcd4e362f3e6a28cfc53da7d5d326aa11</guid></item><item><title>Missing EncryptionService.cs in MindDump</title><link>https://sourceforge.net/p/castleproject/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried to build the MindDump sample, but it seems to be &lt;br /&gt;
missing the &lt;br /&gt;
Samples/MindDump/Castle.Applications.MindDump/Service&lt;br /&gt;
s/EncryptionService.cs file.&lt;/p&gt;
&lt;p&gt;thanks,&lt;br /&gt;
craig&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Neuwirt</dc:creator><pubDate>Thu, 03 Feb 2005 14:51:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net54a6ebb3ba9c5e1406ab3784e5a654ce1d96b538</guid></item></channel></rss>