Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Multiple submissions of posts #1

@filips123

Description

@filips123

Description

When creating a post, the request for creation can be sent multiple times. This can cause more equal posts.

Expected Behavior

It should add only one post at once.

Current Behavior

The request for creation can be sent multiple times.

Possible Solution

JavaScript should prevent double submission of the form.

Steps to Reproduce

  1. Open BlogChain
  2. Create and open new blog
  3. Add new post

Note: The problem sometimes doesn't occur.

Screenshots

Multiple transactions in MetaMask:
multiple-transactions

Multiple posts in BlogChain:
multiple-posts

Your Environment

  • BlogChain Version: 1.0 beta
  • Node.js Version: 8.9.4
  • NPM Version: 5.6.0
  • Browser Name and Version: Firefox 59 and Chrome 65
  • Operating System and Version: Windows 10
  • Hosting Type: Local and IPFS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions