Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 10.9 KB

bugs.md

File metadata and controls

45 lines (30 loc) · 10.9 KB

6.3. Bugs

6.3.1. Fixed Bugs

During the development, following bugs were noted :

Issue Title Description Screenshot Solution Final Commit Result
# 82 BUG : Compatibility issue popper.js vs bootstrap.js Combination of popper.js and bootstrap.min.js libraries preventing modals to open. When popper.js changed to newer version, then dropdown menu not opening. N/A Changed separate files popper.js and bootstrap.min.js to one file bootstrap.bundle.min.js. ee66e4f FIXED
# 83 BUG : Console error - toasts Error regarding toasts appears when landing page is loaded. N/A Created if else statement in base.html to only show toast only if there is any available. 4a52421 FIXED
# 84 BUG : Date Time Compare - Vouchers - Admin tools Error visible in the terminal window when section Vouchers in Admin Tools is accessed. ( Appendix 75 ) Changed DateTimeField to DateField in Newsletter model and add sorting of Vouchers inside of views.py. bb1963e FIXED
# 85 BUG : Admin tools - emails - 400 http response Admin tools - Emails - returns 400 HTTP response when deployed. N/A TinyMCE editor replaced by CKEditor. bde7c57 FIXED
# 86 BUG : Overflowing header icons Icons are sticking out of header on devices with height < 800px. N/A Set fixed height of all header elements in class .header-height caa5de1 FIXED
# 87 BUG : Items with no sizes not adding to Vault Items that has no sizes are not adding to Vault from the Item Detail page. N/A Changed default size in checkout `views.py` from size = request.POST.get('size', 0) to size = request.POST.get('size', 1). This ensures correct multiplication of sub-methods. e960cf0 FIXED
# 88 BUG : Unresponsive "Continue Shopping" link Continue Shopping button malfunctioning when shop item accessed from elsewhere than Shop page. N/A JS script deleted, static link to shop used instead. afa6f55 FIXED
# 89 BUG : Non digit quantity field submission - vault It is possible to submit non-digit quantity field value and site throws 500 error. N/A if new_quantity.isdigit(): used in post method of views.py in vault app f90e353 FIXED
# 90 BUG : Zero stock amount item - adding to Vault It is possible to add item that's not in stock to Vault. N/A Quantity adding input field and "Add to Vault" button displayed only if item is in stock, {% if item.item_stock > 0 %} added to item_detail.html template. 28df137 FIXED
# 91 BUG : Hidden toasts stacking on top of each other Vault toasts are stacking on top of each other in Y axle even if the previous toasts are hidden. ( Appendix 76 ) Line $('.toast:not(:first-child)').remove(); added to base.html template into block of toasts JS logic. This ensures all previous toasts are cleared before new one attached. 6db5a0a FIXED
# 92 BUG : Stripe minimum order amount Stripe payment intent cannot be created if the amount to charge is < 0.50 €. ( Appendix 77 ) Minimum order value added to postage settings model and line elif subtotal < postage_settings.minimum_order: added to checkout views.py. e4af873 FIXED
# 93 BUG : Amount of likes/dislikes not displaying correctly The amount of likes / dislikes isn't counted properly when initial shop page opened. N/A Annotation of likes and dislikes added to initial access of shop page. e6ff664 FIXED
# 94 BUG : Delivery option changed - toast not displaying properly Error message "Payment cannot be processed" appears after changing delivery option changed. N/A Line if request.POST.get('payment-checker') == 'true' and order_form.is_valid(): split into two separate statements with different else outputs. d67a354 FIXED
# 95 BUG : Property "scale" not valid - W3C Property "scale" throws W3C validator error. N/A Property scale: x was replaced by transform: scale(x). d2f8a5a FIXED
# 96 BUG : Header of emails covered by logo Header of email is covered by logo in New Order and Newsletter emails on desktop devices. ( Appendix 78 ) Paragraph with inline styling added as first to the email. <p style="color: #fafafa; margin-top: 10vh;"> 6d7ec46 FIXED

Appendix 75 - Bug - issue 64

Bug - issue 84

Appendix 76 - Bug - issue 65

Bug - issue 91

Appendix 77 - Bug - issue 66

Bug - issue 92

Appendix 78 - Bug - issue 67

Bug - issue 96

6.3.2. Unfixed bugs

There are no know unfixed bugs as of 17.3.2024.