Menu

#989 Non trivial cosmetic crash.

Core
closed
nobody
#crash (1)
3
2018-08-16
2018-08-15
No

I'm getting a crash for all urls with can't use empty string as operand of "!".
Currently learning tcl :-)

can't use empty string as operand of "!"
while executing
"if {!$user_id} { return "" }"
(procedure "im_skin_select_html" line 2)
invoked from within
"im_skin_select_html $untrusted_user_id [im_url_with_query]"
(procedure "::nsf::procs::im_header" line 182)
invoked from within
"im_header -loginpage $page_title"
("uplevel" body line 4)
invoked from within
"uplevel {
set adp_output {}; set ad_conn_locale [ad_conn locale]
set page_title "V[string range [im_core_version] 0 5]"
append adp_output ..."
(procedure "template::code::adp::/web/projop/www/index" line 2)
invoked from within
"template::code::${template_extension}::$
adp_stub"
invoked from within
"template::adp_parse [file rootname [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 6)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "::nsf::procs::rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$extra_url""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$extra_url"
set tcl_url2file([ad_conn url]) [ad_conn file]
set ..."

Discussion

  • Frank Bergmann

    Frank Bergmann - 2018-08-15

    Fixed since some months already in CVS.
    Please search Google for "project-open cvs upgrade".

     
  • Frank Bergmann

    Frank Bergmann - 2018-08-15
    • status: open --> closed
     
  • Keith John Hutchison

    http://www.project-open.com/en/upgrade-40-head

    cvs update: in directory .:
    cvs [update aborted]: there is no version here; run 'cvs checkout' first

     
  • Keith John Hutchison

    I followed the official documentation for installation from http://www.project-open.com/en/install-rhel-7
    Why would the source be out of date?

     
  • Keith John Hutchison

    Is there a git version of the source?

     
  • Keith John Hutchison

    [projop@sydney packages]$ cvs checkout
    cvs [checkout aborted]: must specify at least one module or directory

     
  • Keith John Hutchison

    http://www.project-open.com/en/developers-cvs-checkout#introduction

    su - projop

    cd /web/projop/

    mv packages packages.old

    mkdir packages

    cd packages

    export CVSROOT=:pserver:anonymous@cvs.project-open.net:/home/cvsroot

    cvs checkout intranet-core

    cp intranet-core/all-checkout.sh .

    bash all-checkout.sh

    On Windows you can perform the same steps using the CygWin command line.

    Updating to the Latest Version ("HEAD")
    Open a console and login as 'root'. Afterwards perform the following steps

    su - projop

    cd /web/projop/packages/

    cvs update -PdA

    then as root

    [root@sydney projop]# systemctl stop projop.service
    [root@sydney projop]# systemctl start projop.service
    [root@sydney projop]# systemctl restart nginx

     
  • Frank Bergmann

    Frank Bergmann - 2018-08-16

    Hi!

    You need to work with ]po[ V5.0.2 "beta".
    We didn't officially release V5.0 yet, but that's only for marketing reasons.

    We won't support V4.0 anymore...

    Cheers,
    Frank

     

Anonymous
Anonymous

Add attachments
Cancel