wifang / mollify

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

document lose description when moved or copied in another folder #368

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Upload a document (tried with pdf and jpg)
2. Add some words as description (test, one, two)
3. Move / Copy the document in another folder

What is the expected output? 

Document to preserve its description (the words added at step 2. above)

What do you see instead?

Document lose its description

What version of the product are you using? 

1.8.6.1

On what operating system?

Debian Sqeeze / MySql Database

Please provide any additional information below.

Original issue reported on code.google.com by adrian.d...@brasovinvest.ro on 19 Feb 2012 at 8:12

GoogleCodeExporter commented 9 years ago
Copying file does not transfer any data related, like description. But moving 
should, and I just tested it, description was moved along just as should.

Could you get debug log from moving as instructed in troubleshooting wiki? 

Original comment by samuli.j...@gmail.com on 20 Feb 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Hi,
Debug pasted here (changed my website and IP)

{"code":100,"error":"Unauthorized request","details":"","trace":["MySQL DB: 
mollify@localhost:mollify(mollify_) port=3306 socket=","VERSION: 1.8.6.1 
SERVER: 
{SCRIPT_FILENAME:\/var\/www\/mysite.com\/public_html\/mollify\/backend\/r.php, 
SERVER_PROTOCOL:HTTP\/1.1, REQUEST_METHOD:GET, QUERY_STRING:, 
REQUEST_URI:\/mollify\/backend\/r.php\/debug, 
SCRIPT_NAME:\/mollify\/backend\/r.php, PATH_INFO:\/debug, 
PATH_TRANSLATED:\/var\/www\/mysite.com\/public_html\/debug, 
PHP_SELF:\/mollify\/backend\/r.php\/debug, REQUEST_TIME:1329768329}","SETTINGS: 
{enable_zip_download:1, enable_change_password:, enable_retrieve_url:1, 
debug:1}","CONFIGURATION PROVIDER (MySQLConfiguration): supported 
features={0:change_password, 1:descriptions, 2:administration, 3:user_groups, 
4:permission_inheritance} auth=1","FEATURES: {limited_http_methods:, 
file_upload:1, folder_actions:1, file_upload_progress:, zip_download:1, 
change_password:, descriptions:1, administration:1, user_groups:1, 
mail_notification:, retrieve_url:1, folder_protection:, file_view:1, 
file_preview:1, file_edit:1}","FILESYSTEM: 
allowed_file_upload_types={}","SESSION: {}","AUTH: 
is_authentication_required=1, is_authenticated=","REQUEST: method=get, 
path={0:debug}, ip=xxx.xxx.xxx.xxx, params={}, data=","SERVICE (DebugServices): 
is_auth_required=1","ServiceException: 
UNAUTHORIZED=","{0:{file:\/var\/www\/mysite.com\/public_html\/mollify\/backend\/
r.php, line:57, function:processRequest, class:MollifyBackend, type:->, 
args:{0:Request}}}","RESPONSE error {0:100, 1:Unauthorized request, 2:401} "]}

Original comment by adrian.d...@brasovinvest.ro on 20 Feb 2012 at 8:09

GoogleCodeExporter commented 9 years ago
This error comes from the fact that you tried to open the debug url with non 
admin user. So login as admin, recreate the error, and then get the log.

Original comment by samuli.j...@gmail.com on 22 Feb 2012 at 7:36

GoogleCodeExporter commented 9 years ago
this time attached the file obtained as instructed.
thank you

Original comment by adrian.d...@brasovinvest.ro on 24 Feb 2012 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, now I see the error. It seems this is related to the case when you move 
item across published folders (instead moving inside on published folder). I'll 
look into this.

Original comment by samuli.j...@gmail.com on 24 Feb 2012 at 8:03

GoogleCodeExporter commented 9 years ago
thank you
anyway, I want to congratulate you for the wonderful job that you are doing 
here, with this piece of software
I researched a lot over the Internet and this tool that you have imagined is 
one of the most useful things that I can use
thank you again and thank you for the number of hours that you spend to make 
our live easier !!!

Original comment by adrian.d...@brasovinvest.ro on 24 Feb 2012 at 9:21

GoogleCodeExporter commented 9 years ago
Thanks!

Here's a fix that seemed working in my tests, could you try? Replace your copy 
at "include/filesystem" with attached file.

Original comment by samuli.j...@gmail.com on 24 Feb 2012 at 9:27

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,
Sorry, this does not seem to solve it.
Actually it generates another error. When click on the uploaded file, there is 
an error message (see jpeg attached).
I also attached the last 2 entries from the debug.
Thank you
Regards,

Original comment by adrian.d...@brasovinvest.ro on 25 Feb 2012 at 10:06

Attachments:

GoogleCodeExporter commented 9 years ago
Tried with the new php but this time on the updated version 1.8.6.2 and yes, it 
seems it works now and the problem is fixed.
Thank you again.
Wonderful job !!!

Original comment by adrian.d...@brasovinvest.ro on 25 Feb 2012 at 10:17

GoogleCodeExporter commented 9 years ago
Unfortunately the error log does not show anything for the error. Can you send 
me site url and test account?

Original comment by samuli.j...@gmail.com on 25 Feb 2012 at 10:17

GoogleCodeExporter commented 9 years ago
Oh yes, didn't even mention to update the version. But glad that it works now!

Original comment by samuli.j...@gmail.com on 25 Feb 2012 at 10:25

GoogleCodeExporter commented 9 years ago
Fixed in 1.8.7

Original comment by samuli.j...@gmail.com on 3 Mar 2012 at 12:41