Try the fastest and simplest way to install ONLYOFFICE

[Document Server] Can't delete line with Firefox

Tech support for Enterprise Version

[Document Server] Can't delete line with Firefox

Postby dsi-lille » Fri Oct 20, 2017 2:04 pm

Hi,

With Firefox (tested with Firefox 56.0.1 and Firefox ESR 52.4.1), on a spreadsheet, when we try to deleted a line, just after opened the file, nothing happen.
Even more, after that the document is no longer saved automatically. If we want, again, automatic backup, we must force backup with CTRL + S
Even stranger : after all that, we can delete a line !

We have the error below in the out.log from docservice module :

Code: Select all
[2017-10-20 15:58:53.068] [ERROR] nodeJS - changesError: docId = IBpUJnm8Wz8OxWH6HBk_ Error: ReferenceError: event is not defined Script: https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js Line: 8:423988 userAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 platform: Win64 StackTrace: onSelectionChanged@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:423988
O@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11218
p.bind</r<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11361
g/<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:4439
w.prototype.trigger@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all-min.js:559:283
n.prototype.D7@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7507:37
selectionChanged@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7498:81
w.prototype.trigger@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all-min.js:559:198
r.prototype.Daa@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7710:15
r.prototype.pab@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7791:309
r.prototype.Pcd@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7788:72
n.prototype.tY/<@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7500:278
w.prototype.trigger@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all-min.js:559:198
Efa@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:6936:459
qU@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:6928:213
hb.prototype.EOc@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7094:451
hb.prototype.Fxb@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7089:120
Ja.prototype.Q2a@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:6984:443
Fa@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7768:337
n.AscCommonExcel.rV@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all-min.js:544:373
Ja@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7762:146
r@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7761:130
r.prototype.EA@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7761:431
r.prototype.FV@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all.js:7768:420
Ia.prototype.U3d@https://escola.ac-lille.fr/2017-08-11-08-40/sdkjs/cell/sdk-all-min.js:695:89
onDeleteEntire@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:405582
O@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11218
p.bind</r<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11361
g/<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:4439
c@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:110504
trigger@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:109776
onItemClick@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:235867
O@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11218
p.bind</r<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:11361
g/<@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:4439
dispatch@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:72189
add/m.handle@https://escola.ac-lille.fr/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8:70206



The problem doesn't appear on Chrome.

PS : we use the latest version of Document Server and Community Server

Thanks for your help,
Yoann.
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby Maxim » Mon Oct 23, 2017 8:39 am

Hello Yoann!
Thank you for the information!
We have already fixed it in the Document Server 5.0.3.
Wait for update please.
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Can't delete line with Firefox

Postby dsi-lille » Mon Oct 23, 2017 9:12 am

Hello Maxim,

i just test with this container : https://hub.docker.com/r/onlyoffice/4te ... mentserver (in 5.0.3.18) in our test environment and it doesn't resolve this issue.

Thanks,
Yoann
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby Maxim » Mon Oct 23, 2017 2:27 pm

Hello Yoann!
I just tested on 56.0.1 and it works perfect. Please try to clean browser's cache.
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Can't delete line with Firefox

Postby dsi-lille » Tue Oct 24, 2017 7:18 am

Hello Maxim,

just tested with Document Server 5.0.3.21, Firefox 56.0.1 both 64bit and 32bit : the problem is still here.
Clean browser's cache doesn't solve the issue.
Tested with a new user and with the ONLYOFFICE Sample Spreadsheet file.

Are you sure it's the same bug ?

Thanks,
Yoann
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby dsi-lille » Tue Oct 24, 2017 1:58 pm

Hi,

i just spent my day trying to resolve this issue...
This is what i found :
The problem is not present in Document Server 4.3.6.
I think the problem came from here. The variable "event" is not initialized...

Thanks for your help,
Yoann
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby Maxim » Wed Oct 25, 2017 7:56 am

Hello Yoann!
Is there any way where you can show this issue and versions of Firefox and Document Server (video or gif maybe)?
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Document Server] Can't delete line with Firefox

Postby dsi-lille » Wed Oct 25, 2017 8:09 am

Hello,

I think the problem came from here. The variable "event" is not initialized...


I confirm.

I changed this :

Code: Select all
(this.permissions.isEdit) ? this.fillMenuProps(info, true, event) : this.fillViewMenuProps(info, true, event);

to this :

Code: Select all
(this.permissions.isEdit) ? this.fillMenuProps(info, true, "") : this.fillViewMenuProps(info, true, "");


and it works perfect.

I don't know if it's the right fix, but at least it prove that the problem really came from the variable "event" who are not initialized.

Could you please fix this rapidly ? (with the Document Server version 5)
With this bug, some of our users lost data.

Thanks a lot,
Yoann
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby dsi-lille » Wed Oct 25, 2017 8:53 am

Hello Maxim,

Is there any way where you can show this issue and versions of Firefox and Document Server (video or gif maybe)?


no problem, you can download here a gif exposing the problem.

Thanks a lot,
Yoann.
dsi-lille
 
Posts: 138
Joined: Mon Jul 11, 2016 1:47 pm

Re: [Document Server] Can't delete line with Firefox

Postby Merc » Mon Oct 30, 2017 5:46 pm

I tried to replicate your problem without success but suddenly while working on a spreadsheet that I had imported - a table really, no real calculations - I encountered what I think is the inverse problem you're having. Namely, I could not (apparently) insert a column.

Each time I tried, using the contextual menu to insert a column left of a selected one, nothing appeared on the screen (Firefox 56.0.2). When I try to close the page I get a message from Firefox that "The page is asking to confirm that you want to leave...." Re-entering the page I do not see the change(s).

Similarly, when I tried to enter a simple calculation in a blank cell I could see that the formula is present in the formula bar at top but no result is shown in the cell.

Switching to Chromium I did not experience any of these issues on the spreadsheet. The changes are saved and I can see them in Firefox but the editing issues persist. I believe the changes are being made (or at least cached) to the document in Firefox but are not being saved.

Restarting the containers had no effect.

onlyoffice/documentserver 4.4.3.7
onlyoffice/communityserver 9.1.0.418
Ubuntu 16.04
Merc
 
Posts: 43
Joined: Tue Jun 09, 2015 2:29 am

Next

Return to Enterprise Version

Who is online

Users browsing this forum: Google [Bot] and 1 guest