[Fusionforge-general] possible bug with javascript on docman module views

Seth Galitzer sgsax at ksu.edu
Mon Sep 8 16:27:07 CEST 2014


On 09/07/2014 04:59 PM, Franck Villaume wrote:
> Le 07/09/2014 19:22, Seth Galitzer a écrit :
>> On 09/06/2014 06:01 AM, Franck Villaume wrote:
>>> Le 05/09/2014 23:46, Seth Galitzer a écrit :
>>>> Now that I've successfully imported my old docman data, it seems I am
>>>> unable to upload new files or create/edit folders. The buttons are
>>>> visible, but don't seem to have any effect when clicked. There are no
>>>> error messages in the apache logs or the browser javascript console. I
>>>> have tested in multiple browsers and OS and the behavior is the
>>>> same. It
>>>> also looks like the page div containing the file/folder uploader/editor
>>>> is always visible, when I think it should only be visible upon demand,
>>>> and there is no "submit" or similar button visible to push the
>>>> files/changes. Likewise, in the "Add new item" tab, there is a a radio
>>>> button set to select "Submit new document", "Add a new folder", or
>>>> "Inject Tree", but no submit button to activate the selection. My guess
>>>> is there is some problem executing the javascript somewhere, but I'm
>>>> not
>>>> sure. I do not have javascript blocked in any browser I tested this in.
>>>> Any idea what's going on here? As a reminder, I'm running FF 5.2.3 on
>>>> debian wheezy, and have imported data from GFAS 5.7.1.
>>>>
>>>> Thanks.
>>>> Seth
>>>>
>>>
>>> Hi Seth,
>>>
>>> Can you check if you have no 404 errors ?
>>>
>>> Regards,
>>> Franck aka nerville.
>>>
>>>
>>
>> No 404 errors, either in the browser or the apache logs. Any clicks
>> just silently fail.
>>
>> Seth
>>
> Can you send me?
> - screenshot of the docman (list files & directories tab, add item tab)
> - apache log
> 
> docman uses javascript.
> in the add item tab, when you select a value in radio button, you should
> have the select view displayed.
> 2 options here :
> - there is a javascript error (docman bug : I cannot reproduce here)
> - some files are missing (the docman js controller does not load correctly)
> 
> Are you using debian 5.2 ff packages? if yes, I know the debian packages
> are js buggy...
> https://fusionforge.org/tracker/index.php?func=detail&aid=480&group_id=6&atid=115
> 
> 

Requested docs are attached. Hope it's OK that I tar-gz'd them. I
promise it's clean. :)

Yes, I'm using debian packages: 5.2.3+20130110-1+bzr12644 on debian
wheezy (7.6), pulling from fusionforge.org repos.

I remember looking at that bug report thread. My file structure for the
jquery libs is below. See anything missing or in the wrong place?

Thanks for the help.
Seth

# ls -la /usr/share/gforge/www/scripts/
total 12
drwxr-xr-x  3 root root 4096 Oct 21  2013 .
drwxr-xr-x 39 root root 4096 Apr  8 10:34 ..
drwxr-xr-x  2 root root 4096 Sep  5 15:05 codendi
lrwxrwxrwx  1 root root   29 Oct  8  2013 coolfieldset ->
../../lib/vendor/coolfieldset
lrwxrwxrwx  1 root root   26 Jul 10  2013 jquery ->
../../../javascript/jquery
lrwxrwxrwx  1 root root   38 Oct  8  2013 jquery-simpletreemenu ->
../../lib/vendor/jquery-simpletreemenu
lrwxrwxrwx  1 root root   31 Oct  8  2013 jquery-storage ->
../../lib/vendor/jquery-storage
lrwxrwxrwx  1 root root   32 Jul 10  2013 jquery-tipsy ->
../../../javascript/jquery-tipsy
lrwxrwxrwx  1 root root   29 Jul 10  2013 jquery-ui ->
../../../javascript/jquery-ui
lrwxrwxrwx  1 root root   36 Jul 10  2013 jquery-ui-themes ->
../../../javascript/jquery-ui-themes
lrwxrwxrwx  1 root root   29 Jul 10  2013 prototype ->
../../../javascript/prototype
lrwxrwxrwx  1 root root   33 Jul 10  2013 scriptaculous ->
../../../javascript/scriptaculous
lrwxrwxrwx  1 root root   23 Jul 10  2013 yui -> ../../../javascript/yui

# ls -la /usr/share/gforge/www/scripts/codendi/
total 324
drwxr-xr-x 2 root root   4096 Sep  5 15:05 .
drwxr-xr-x 3 root root   4096 Oct 21  2013 ..
-rw-r--r-- 1 root root 269050 Jul 23  2013 codendi-1236793993.js
-rw-r--r-- 1 root root   3222 Jul 23  2013 common.js
-rw-r--r-- 1 root root   4376 Jul 23  2013 cross_references.js
-rw-r--r-- 1 root root   6718 Jul 23  2013 debug_reserved_names.js
-rw-r--r-- 1 root root   7519 Jul 23  2013 LayoutManager.js
-rw-r--r-- 1 root root   1525 Jul 23  2013 README
-rw-r--r-- 1 root root   3752 Jul 23  2013 ReorderColumns.js
-rw-r--r-- 1 root root   3648 Jul 23  2013 Tooltip.js
-rw-r--r-- 1 root root   4764 Jul 23  2013 validate.js

# ls -la /usr/share/gforge/lib/vendor/
total 24
drwxr-xr-x 6 root root 4096 Feb 27  2014 .
drwxr-xr-x 3 root root 4096 May 15 15:06 ..
drwxr-xr-x 5 root root 4096 Feb 27  2014 bootstrap
drwxr-xr-x 5 root root 4096 Apr  8 10:34 coolfieldset
lrwxrwxrwx 1 root root   26 Jul 10  2013 jquery ->
../../../javascript/jquery
drwxr-xr-x 4 root root 4096 Jul 10  2013 jquery-simpletreemenu
drwxr-xr-x 2 root root 4096 Apr  8 10:34 jquery-storage
lrwxrwxrwx 1 root root   32 Jul 10  2013 jquery-tipsy ->
../../../javascript/jquery-tipsy
lrwxrwxrwx 1 root root   29 Jul 10  2013 jquery-ui ->
../../../javascript/jquery-ui
lrwxrwxrwx 1 root root   36 Jul 10  2013 jquery-ui-themes ->
../../../javascript/jquery-ui-themes
lrwxrwxrwx 1 root root   29 Jul 10  2013 prototype ->
../../../javascript/prototype
lrwxrwxrwx 1 root root   33 Jul 10  2013 scriptaculous ->
../../../javascript/scriptaculous
lrwxrwxrwx 1 root root   23 Jul 10  2013 yui -> ../../../javascript/yui

# ls -la /usr/share/javascript/
total 60
drwxr-xr-x  13 root root  4096 Apr 17  2013 .
drwxr-xr-x 138 root root  4096 Apr  4 17:19 ..
drwxr-xr-x   2 root root  4096 Apr 16  2013 jquery
drwxr-xr-x   2 root root  4096 Apr 16  2013 jquery-cookie
drwxr-xr-x   2 root root  4096 Apr 16  2013 jquery-form
drwxr-xr-x   4 root root  4096 Apr 16  2013 jquery-tipsy
drwxr-xr-x   5 root root  4096 Apr 16  2013 jquery-ui
drwxr-xr-x   3 root root  4096 Apr 16  2013 jquery-ui-themes
drwxr-xr-x   2 root root  4096 Apr 17  2013 mochikit
drwxr-xr-x   2 root root  4096 Apr 16  2013 prototype
drwxr-xr-x   2 root root  4096 Apr 16  2013 scriptaculous
drwxr-xr-x  59 root root  4096 Apr 16  2013 yui
drwxr-xr-x 308 root root 12288 Apr 17  2013 yui3


-- 
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sgsax at ksu.edu
785-532-7790
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sgsax.tar.gz
Type: application/gzip
Size: 603454 bytes
Desc: not available
URL: <http://lists.fusionforge.org/pipermail/fusionforge-general/attachments/20140908/bd30c984/attachment-0001.bin>


More information about the Fusionforge-general mailing list