Closed (duplicate)
Project:
Vertical Tabs
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2010 at 23:32 UTC
Updated:
20 May 2011 at 15:00 UTC
How to reproduce this issue:
1. enable uploading multiple file attachments to a node
2. create your node and upload a single document
3. save your node
4. edit the same node
5. check your browser's Error console
Comments
Comment #1
NiklasBr commentedI can reproduce this. However this seems to be an issue in FireFox only. Safari, Opera, Chrome and IE8 all accepts str = str.replace(key, args[key]);
However, this error also clears the author field resulting in an unpublished node by the Anonymous user (user 0) if it is edited and saved.
Are you using jQuery update?
Comment #2
heine commentedDo you use translations? If so, it is likely a duplicate of #306715: _locale_rebuild_js doesn't store plural forms correctly.
Comment #3
dave reidYes it is.
Comment #4
NiklasBr commented@Heine
The patch in your linked issue solves the issue.
Comment #5
candelas commentedit is not the fault of vertical tabs (thanks for the module)
i just found the problem:
the string :
@count attachments
; sites/all/modules/vertical_tabs/core/upload.js
has ";" and it shouldnt have it.
if you translate that string, everything goes nuts.
if you leave it blank, everything works.
where i should submit this?
Comment #6
candelas commentedsorry that i change for active from duplicate but i have to run to work (classes) and i need your advice on where to report (i have been one day searching and crazy because this bug).
Comment #7
heine commented1. Please have the courtesy to read an issue before commenting on it.
2. You do not need to report this error, it is known.
3. There's a patch posted at #504506: Drupal.formatPlural incorrectly handle complex plural rules that may, or may not get into a future version of Drupal 6.
Comment #8
candelas commented@Heine sorry :)
i close the issue and report in the link that you say.
yesterday i read the issue that you say and that helped to me to debug.
but until now i had not time to see how to fix the bug, just to stop it :)
and thanks for vertical tabs, it makes the site great and degrade gracefully without javascript.