Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 8/5/2006 8:40 AM (edited 8/5/2006 8:43 AM)
I am using the trunk and the 2.0 aspnet.

The failure occurs when the user attempts to detach a section from a placeholder. SO far its failing on the static HTML module.

An error occured: Unable to get the StaticHtmlContent when no Section is available
This failure occurs at : StaticHtmlModule.GetContent().


i have been trying to work out why, buts a difficult.

anyone have any ideas?

Gerard
gedw99 at hotmail.com
# martijnb 8/5/2006 11:09 AM
While attaching a StaticHtml section to a node, the fulltext index is updated and therefore a call to GetContent() is made.
The problem was that the StaticHtmlModule instance was created with the old (deprecated) Section.CreateModule method (section was null).

It is fixed now in SVN.
# gedw99 8/8/2006 3:50 PM
Martin,

Thansk Martin.

will grab SVN and test it.
Are the other modules using the new castle wya of creating the instances - shoudl i test them too?
cheers

Gerard
# gedw99 8/8/2006 4:46 PM
Hey Martin,

thansk you - tested and it works fully now. Can detach and reatach.
When attempting to delete it does not allow a delete if the module (such as articles) has any items. thsi si how it shoudl be working.

i am coding directly off the trunk as i want to use the latest code. i habe alot of stuff that coudl be patched back in, Let me know if you want me to send you a merge file or something.

Thanks again.

Gerard Webb
# martijnb 8/9/2006 3:06 PM
gedw99i am coding directly off the trunk as i want to use the latest code. i habe alot of stuff that coudl be patched back in, Let me know if you want me to send you a merge file or something.

If you have lots of changes, it might be better to compile a list of these and post that to the cuyahoga-dev mailing list. This way we can discuss what we should use and what not. After deciding, you then can create .patch files (for example with tortoisesvn) for the stuff that goes in the core. Agreed?
# gedw99 8/10/2006 2:32 AM
Thanks Martin,

Much appreciated.

Sounds like a way to go. I have quite a few patches i woudl like to put back into the trunk.

Gerard