Forum OpenACS Development: Re: Strange behavior with AOLserver on Ubuntu 14.04
This looks to me as an instance of this well known bug (, probably ). The bug is fixed in the aolserver cvs since more than a year . I would expect that the bug would not show up, when you use the recent AOLserver from the repository (or NaviServer).
The suggested fix addresses just some of the symptoms in one place, it will lead to incorrect behavior when the form is expected to provide an empty form field; the source code above is not from the actual oacs-5-8 releases, and - strangely enough it just avoids calls to ad_quotehtml, which does NOT call ns_quotehtml, containing the bug. I would not recommend to use this bugfix.
Furthermore, the same bug with ns_quotehtml in aolserver is likely to show up on other places as well. so, fix aolserver or use naviserver.
all the best
thanks for pointing this out. I take a few lessons from it:
1. Well documented does not mean it shows up in Google search results (at least Link 2 did not and the top search result now is this thread .
2. Gone are the good old days when we could install OpenACS or ]project-open[ without compiling the web server manually (as the packages won't work) on current versions of (at least) Ubuntu.
3. We need an installation instruction for ]project-open[ on Ubuntu 14.04 LTS which is more detailed than the current one for 12.04 LTS. And make sure it is linked and can be found using google search .
4. ]project-open[ should eventually move to OpenACS 5.8, Naviserver and PG 8.3 in order to benefit from the larger OpenACS community (otherwise I would not have posted outdated acs-templating code). Maybe it happens before PG 10 / OpenACS 6.x is out.
regarding 1: google's results depend on the search string :) needless to say that i found link 2 via google.
regarding 2: the appropriate way to report a bug in a debian package is to submit a bug report to the debian maintainer. especially, when there is a fix, this is usually quickly integrated. There is also a debian package for naviserver 
regarding 3: an installation based on  can be shorter than the current one and works on more platforms
regarding 4: PO should move towards PG 9.* and to towards pg8.*. I've sent patches to install intranet-hr under pg9.3 in oct 2013 (including notifications, intranet-core, acs-workflow, intranet-dynfield)
regarding 3: Yes... I was actually using this one as a reference point for my installation instructions at http://erp4projects.de/install-project-open-on-ubuntu-14-4-lts/. Maybe Frank can look into making a more generic version available.
regarding 4: I assume those patches run on top of OpenACS 5.8 and work with Naviserver? Then it would be great to get them, as haven't seen them incorporated into ]project-open[ yet (https://github.com/project-open/intranet-hr/commits/master).
regarding the last point: the changes have nothing to do with naviserver, but to bring po to the same level as oacs (e.g fix old-style sql quoting, get rid of deprecated functions, make po installable from scratch with pg 9.3, etc. my hope was mostly, to get the free PO components installable via repository, similar as dotlrn is now installable via repo, but this seems still a longer way.