On donderdag 29 december 2011 11:49:10, Alan Williamson (aw2.0 cloud
experts) wrote:
David there are a couple of things at play here possibly. Can you file
a bug and give as much details as possible, particular the OS you are
running on.
Also ... where are you getting that link from? That link hasn't been
in use for over a year now, so I wonder where you are getting that
outdated reference from. Which page have I forgotten to update.
David Mulder wrote:
Hi guys, another day another issue :-P : if I make a mapping for "/x"
to "/" it works perfectly if I use cfdirectory to list it's contents
(which is - as expected - the webapp directory). Next if I want to
use the mapping in a createObject it won't work if I use an absolute
path to the webroot and I need to use an absolute system path
("$/[...]/webapps/x") before it works which - if I am not too
mistaken - should be the same, as is the case if I use cfdirectory to
output it's contents (which is logical as expandPath gives the same
output).
Well, as I already figured out that I need to use absolute paths it
isn't too big of a problem, but I kind of suspect it's a bug, so I
believed it worth posting.
David Mulder
PS. Totally unrelated, but is there somewhere a bug tracking system?
Because all links refer to
http://www.openbluedragon.org/bugtracking.cfm which doesn't work and
I think I have encountered another "bug" (multiple sql instances
won't work, although that might be a driver issue).
Hi,
Ah, the first result when you search on google for "openbd bug report
-openbsd" gives this page
http://wiki.openbluedragon.org/wiki/index.php/Contributing which links
there and somewhere on a mailing list I found a link there as well. So
what is the correct place? And the bug on the website which I reported
awhile ago on the mailing list here (official plugins button (on the
download page) cyclenum attribute should be 2 not 3) hasn't be changed
neither. And as far as details go:
- Server is currently an ubuntu server (latest version) + lenny +
apache
- Steps to reproduce:
1. Create mapping x to "/"
2. Create test.cfc with empty cfcomponent tags in subdirectory (in
example below bluedragon)
3. Create test.cfm in same directory with
<cfoutput>#expandPath("/x/bluedragon")#</cfoutput> <!--- gives
correct directory --->
<cfset com_test = CreateObject("x.bluedragon.test")> <!--- gives
error --->
<cfdump var="#com_test#">
And as far as the mssql instances that don't work, mssql normally
supports the option to add an instance name behind the hostname which
is then resolved to another dynamic port as for example explained here
http://msdn.microsoft.com/en-us/library/aa224779%28v=sql.80%29.aspx ,
but I am pretty sure that's not an openbd issue? Although I don't know
where I /should/ report this.
Oh and aside of that, is there a way to get the application settings?
Because neither "application.GetApplicationSettings()" (undocumented
ACF function) nor "createObject('component','Application')" work.
David Mulder
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en