docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
6.09k stars 428 forks source link

docker install, error 500 when viewing submitted docs #2

Closed despiegk closed 1 year ago

despiegk commented 1 year ago
I, [2023-07-14T07:07:30.639634 #1]  INFO -- : [a093398a-c05e-4a4e-8fdc-ddecd00f02d4] {"method":"GET","path":"/submissions/3","format":"html","controller":"SubmissionsController","action":"show","status":500,"duration":38.02,"view":0.0,"db":19.4,"fwd":"172.17.0.1"}
F, [2023-07-14T07:07:30.640198 #1] FATAL -- : [a093398a-c05e-4a4e-8fdc-ddecd00f02d4]
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] ActionView::Template::Error (undefined method `/' for nil:NilClass):
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     15:       <%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     16:     </div>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     17:   <% elsif field['type'] == 'cells' %>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     18:     <% cell_width = area['cell_w'] / area['w'] * 100 %>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     19:     <div class="w-full flex items-center">
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     20:       <% (0..(area['w'] / area['cell_w']).ceil).each do |index| %>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]     21:         <% if value[index] %>
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4]
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/_value.html.erb:18
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:50
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:47:in `each'
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:47
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:43:in `each'
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:43:in `each_with_index'
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:43
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:41:in `each'
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/views/submissions/show.html.erb:41
[a093398a-c05e-4a4e-8fdc-ddecd00f02d4] app/controllers/submissions_controller.rb:12:in `show'
I, [2023-07-14T07:07:32.875681 #1]  INFO -- : [869106c2-008f-4c71-98cc-c79f75821db3] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"duration":28.71,"view":4.12,"db":15.78,"fwd":"172.17.0.1"}
I, [2023-07-14T07:07:34.416608 #1]  INFO -- : [204c9651-ac3a-4f52-ab38-26f7a86b6f2a] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"duration":22.88,"view":3.33,"db":14.93,"fwd":"172.17.0.1"}
image

other info, was file inside

AlexandrToorchyn commented 1 year ago

@despiegk Unfortunately, I was unable to reproduce this bug. Can you reproduce this bug for another document? If yes, can you please describe how to reproduce it step by step? Thanks.