<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/castleproject/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/castleproject/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/castleproject/bugs/</id><updated>2012-06-19T18:28:50Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Items registered in child are not injected</title><link href="https://sourceforge.net/p/castleproject/bugs/8/" rel="alternate"/><published>2012-06-19T18:28:50Z</published><updated>2012-06-19T18:28:50Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6ebcefc42a7f30802badbe194700bf211a05c886</id><summary type="html">&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;</summary></entry><entry><title>Error registering a FileStream instance</title><link href="https://sourceforge.net/p/castleproject/bugs/7/" rel="alternate"/><published>2012-02-14T16:09:27Z</published><updated>2012-02-14T16:09:27Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6e627baedea9ee7838082dae69a5242eb0d9f0f3</id><summary type="html">&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;</summary></entry><entry><title>BadImageFormatException</title><link href="https://sourceforge.net/p/castleproject/bugs/6/" rel="alternate"/><published>2009-06-23T13:46:48Z</published><updated>2009-06-23T13:46:48Z</updated><author><name>Martin Mitterer</name><uri>https://sourceforge.net/u/martl76/</uri></author><id>https://sourceforge.net6639d717d65f5de1296a2f6c9c6d73a9d4811613</id><summary type="html">&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;</summary></entry><entry><title>Sequence schema name</title><link href="https://sourceforge.net/p/castleproject/bugs/5/" rel="alternate"/><published>2008-02-08T12:34:48Z</published><updated>2008-02-08T12:34:48Z</updated><author><name>Nâmio Evangelista Sousa</name><uri>https://sourceforge.net/u/namio/</uri></author><id>https://sourceforge.net83f4b179b9290040c249fa0737da608df9f3edcf</id><summary type="html">&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;</summary></entry><entry><title>missing "ActiveRecordHooksBase.cs" in </title><link href="https://sourceforge.net/p/castleproject/bugs/4/" rel="alternate"/><published>2006-02-27T09:58:24Z</published><updated>2006-02-27T09:58:24Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net962bd09584fd3c43e382c157651ec57d213a29da</id><summary type="html">&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;</summary></entry><entry><title>missign file in source "Castle.Windsor.Configuration.Interpr</title><link href="https://sourceforge.net/p/castleproject/bugs/3/" rel="alternate"/><published>2006-02-27T09:26:53Z</published><updated>2006-02-27T09:26:53Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net291f35cb2e305789fb0aa215f5a249c01241c680</id><summary type="html">&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;</summary></entry><entry><title>Dictionary parameter not work</title><link href="https://sourceforge.net/p/castleproject/bugs/2/" rel="alternate"/><published>2005-07-30T10:54:58Z</published><updated>2005-07-30T10:54:58Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netcc453bdbcd4e362f3e6a28cfc53da7d5d326aa11</id><summary type="html">&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;</summary></entry><entry><title>Missing EncryptionService.cs in MindDump</title><link href="https://sourceforge.net/p/castleproject/bugs/1/" rel="alternate"/><published>2005-02-03T14:51:06Z</published><updated>2005-02-03T14:51:06Z</updated><author><name>Craig Neuwirt</name><uri>https://sourceforge.net/u/cneuwirt/</uri></author><id>https://sourceforge.net54a6ebb3ba9c5e1406ab3784e5a654ce1d96b538</id><summary type="html">&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;</summary></entry></feed>