Git Product home page Git Product logo

guild's Introduction

Hi there πŸ‘‹

I am Roman, sometimes Roma.

I use TDD as the main practice in the software development.

Some books in section "must for read":

  • πŸ“– Python Crash Course: A Hands-On, Project-Based Introduction to Programming
  • 🐘 PHP 8 Objects, Patterns, and Practice
  • πŸ’» The Pragmatic Programmer
  • β˜• Effective Java
  • πŸ— Designing Data-Intensive Applications

guild's People

Contributors

mvchn avatar

Stargazers

 avatar  avatar

Watchers

 avatar

guild's Issues

Exception after submit attribute

An exception occurred while executing 'INSERT INTO attributes (id, name, type, label, help, required, verify, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params [1, "Name", "Symfony\Component\Form\Extension\Core\Type\TextType", "\u0406\u043c'\u044f", null, 1, null, 1]:

SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "verify" of relation "attributes" violates not-null constraint
DETAIL: Failing row contains (1, 1, Name, Symfony\Component\Form\Extension\Core\Type\TextType, Π†ΠΌ'я, null, t, null).

Confirm order action

Need to implement new event order.confirm

On comfirmm use such actions:

  • send email to customer (verify email)
  • show success page with telegram bot (othe channe in future)

Contact verification

  1. Need enable verification on attribute type 'email'
  2. Order can not confirmed without verified contact

Order form configurator

Need to add form configuration for order

  • user can change contact fields for order form
  • customer can set reqired and other fields or not to do this

Sending emails

Need to send emails on such events:

  • customer submit order. Send email to customer, sent to product owner
  • one hour before time of event order create
  • 10 minutes before time of event order created

Custom 500 handler

  1. Custom template for exception pages
  • liks to docs and support
  1. Listener for exeptions
  2. Link support and exceptions

Exception on order confirm form submit

An exception occurred while executing 'INSERT INTO orders (id, uuid, created_at, updated_at, status, stock_id) VALUES (?, ?, ?, ?, ?, ?)' with params [3, "8874a87f-17e7-4f67-ba50-eaf4efc36051", "2021-04-27 16:14:28", "2021-04-27 16:14:28", "confirmed", 1]:

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_e52ffdeedcd6110"
DETAIL: Key (stock_id)=(1) already exists.

ProductController :: createOrder

An exception occurred while executing 'INSERT INTO orders (id, uuid, created_at, updated_at, status, stock_id) VALUES (?, ?, ?, ?, ?, ?)' with params [13, "9038e365-1800-4f1a-bbcf-fd35722c010b", "2021-04-27 20:26:50", "2021-04-27 20:26:50", "new", 1]:

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_e52ffdeedcd6110"
DETAIL: Key (stock_id)=(1) already exists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.