Notes |
|
|
When I attach first file everything is ok.
When I attach second file, secon file is visible, but not first file, and I see that this file is in version 2.
And so on.
When I delete second file, first file is visible.
Please check this.
Attaching files do not work good.
Thanks! |
|
|
|
I did an overhaul of some stuff related to the file module here. Among other things i discovered that the JS that was supposed to display/hide things did not work.
There where also some issues with mismatching of tags etc. in the folders_table.php file...
You could check if this issue is fixed in my current branch here:
https://github.com/Korkonius/web2project |
|
|
|
Hi Thank you for the reply but unfortunately the same problem persists.
If you upload a second file to the same task the system treat that as if it is a revision of the first file and not as a new file. This limits you to one file per task.
See attached screen-print.
It should allow one to upload more than one file per task and then to have revisions of certain files.
Thank you for your time and effort. Your system is making a difference in our environment. |
|
|
(0002278)
|
opto
|
2011-11-11 09:22
|
|
reason is that file_versionid is not set.
I will try to find where that should be changed, Klaus |
|
|
(0002279)
|
opto
|
2011-11-11 09:48
|
|
CFiles->store attempts to determine the last file_versio_id, unfortunately, it firs tsets the table (q->addtable(...) and then does the ckear on the query (q->clear(), so we don't have a table in the query and don't get the id. Thus, all are 1. -> single entry displayed only, and all files are parents of that. |
|
|
|
Hi, thank you for the feedback, sorry I do not understand, did you fix the problem or do you say it can't be fixed? If you have fixed it did you commit the changes yet?
I tested the latest build and the files are still doing the same. What is the way forward? |
|
|
(0002292)
|
opto
|
2011-11-13 23:07
|
|
I have no access to SVN. You can fix it yourself until it is committed by the projectteam:
search for CFIle::store in files.class.php.
Look for
q->addtable(...)
followed by
q->clear()
reverse order to
q->clear()
q->addtable(...)
don't change the two lines, I have abbreviated them here, just change their order in the text.
That solved it for me,
Klaus |
|
|
|
|
|
|
Project team will it be possible to incorporate this fix into the SVN. The current version still has the same problem with files. |
|
|
|
Resolved as described in r2297; |
|