google-code-export / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

Javascript error in functions.js line 118 #220

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I click on a folder
2.The waiting animation stays forever
3.Javascript error cannot use replace on a nn string element

What is the expected output? What do you see instead?
I expecto see the items but they never come due to the javascript error

What version of the product are you using?
2.0RC4 and 2.0

On what operating system? With what Browser (IEx, FFx, ...)
OSX Chrome

Please provide any additional information below.
I went into the includes/js/functions.js
updated as follow:
function unprotectString(string){
  if( typeof string == "string"){ string = string.replace(/\\/g,'').replace(/]/g,'\\'); }
  return string;
}

Original issue reported on code.google.com by franck.b...@gmail.com on 20 Dec 2011 at 8:24

GoogleCodeExporter commented 9 years ago
Line 118 is not the function you show at the end. Are you sure?

Is it the case for each folder you have?

Has Teampass already worked on your server?

Original comment by nils.cpa...@gmail.com on 21 Dec 2011 at 6:03

GoogleCodeExporter commented 9 years ago
It's the function i have in 2.0RC4 and 2.0 final at line 118
What am i supposed to have?

Teampass is working for most of the folders
But now and then i have this hourglass of death
So it is why i started to investigate because my co-workers are complaining
and i am the support guy for the application :)

So if i can help to fix bugs here and there
Franck

Original comment by franck.b...@gmail.com on 21 Dec 2011 at 6:20

GoogleCodeExporter commented 9 years ago
Hi have the same problem. Downloaded and installed Yesterday.

Original comment by toxicrai...@gmail.com on 29 Dec 2011 at 5:22

GoogleCodeExporter commented 9 years ago
Is it a remote server? if yes, check that size of the files are ok. I've 
already experiment problems due to upload troubles.
Just to be sure, delete function.js file and re-upload it.
Then clear your cache and server cache.

Original comment by nils.cpa...@gmail.com on 29 Dec 2011 at 9:24

GoogleCodeExporter commented 9 years ago
Ok, going to do that next week (not working tomorrow). i will give you some 
feedback. Happy New Year ;)

Original comment by toxicrai...@gmail.com on 30 Dec 2011 at 4:35

GoogleCodeExporter commented 9 years ago
Hi There,
  Did what you told me. Same result. Screenshoot attached

Original comment by toxicrai...@gmail.com on 2 Jan 2012 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
Very strange ... I've just tested with I9.

What IE version do you use?

Original comment by nils.cpa...@gmail.com on 3 Jan 2012 at 8:11

GoogleCodeExporter commented 9 years ago
I there, I'm using IE8. It's a standard and I can't upgrade. Thanks for your 
help.

Original comment by toxicrai...@gmail.com on 3 Jan 2012 at 8:46

GoogleCodeExporter commented 9 years ago
Hi There,
  Any did someone replicated this error? Tried to install the new version and the patch and I still have this problem.

Original comment by toxicrai...@gmail.com on 18 Jan 2012 at 12:03