Undefined Behavior for Custom Formatted xlsx linked Spreadsheet

Đang mở
#3,804 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
backend, data

Hướng nghiên cứu

Start by examining the spreadsheet response export and row-append entry points; the issue does not name files or tests. Reproduce with a formatted, linked XLSX file containing an added column, then submit a response after upgrading from Forms 5.2.4 to 5.4.1. Done means existing spreadsheet contents and formatting remain intact and the new answer is appended as a row.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

0. Needs triage bug needs info

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
On upgrade to newer version of nextcloud when the linked spreadsheet is formatted via the nextcloud office or a local microsoft excel app, the whole table is wiped.
After that unlink and relink it to a new spreadsheet then formatting it as desired, no new row is going to be added.

To Reproduce
Steps to reproduce the behavior:

one quick note: consider that we are using complex English-Persian language to fill out forms.

  1. Create a form from an older version - forms-v5.2.4.tar.gz
  2. Fill out the form with a couple of answers.
  3. Link the responses to a xlsx spreadsheet.
  4. Format the spreadsheet using your desired excel application.
  5. Add new column at the end as well.
  6. Save and sync the spreadsheet.
  7. Upgrade the forms to version 5.4.1
  8. Add a new response
  9. You should that the entire form is wiped out except the title.
  10. If you try and relink it to an entire file then formatting it as desired, no new row is going to be added

Expected behavior New answers should be saved at the end of the sheets.

Screenshots
Unfortunately a screenshot of a wiped clean spreadsheet is not going to be helpful.

Nextcloud (please complete the following information):

  • Nextcloud-Version: 33.0.10
  • Forms-Version: 5.2.4 upgraded to 5.4.1

Desktop (please complete the following information):

  • OS: Linux Server -- Windows, iOS, Android clients.
  • Browser Any
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser
  • Version

Browser log
After re-exporting to spreadsheet for multiple times:

index.mjs:44 [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config Object
log @ index.mjs:44
index.mjs:47 [ERROR] viewer: The following mime is already registered Object
log @ index.mjs:47
search.js:22 Initializing unified search plugin-filters from talk
NotificationsApp.vue:455 Notifications permissions denied
NotificationsApp.vue:230 Has notify_push enabled, slowing polling to 15 minutes
NotificationsApp.vue:412 Polling interval updated to 900000
NotificationsApp.vue:279 Started background fetcher as session_keepalive is enabled
NotificationsApp.vue:368 Got notification data, restoring default polling interval.
index.mjs:44 [WARN] @nextcloud/vue: Found no locale to load. Object
log @ index.mjs:44

Additional context
Everything was fine in the last version.

Ngôn ngữ chính
JavaScript
Star
385
Fork
133
Merge trung bình
7 giờ 54 phút
Pull request đã merge (30 ngày)
157

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/forms

Tất cả issue của nextcloud/forms

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.