Skip to content

image upload via CK Edit popup –> wrong datetime in database #41

@gerritvanaaken

Description

@gerritvanaaken

Short description of the issue

When you upload an image via the CK editor upload function, it creates an entry in the database for this uploaded image, but with a wrong datetime

Expected behavior

"created" datetime of newly uploaded files must be current time.

Actual behavior

"created" datetime is wrong, like "1970-01-01 01:00:10"

Optional: Screenshots/Links that demonstrate the issue

pic_2016-10-12_whly5

pic_2016-10-12_7b4mv

Steps to reproduce the issue

  1. Upload a new image via CK Editor popup, to any image field
  2. look into the database and check the datetime of this newly uploaded image

Setup/Environment

  • ProcessWire version: 3.0.35
  • (Optional) PHP version: 5.6.25
  • (Optional) MySQL version: 5.6.28
  • (Optional) Any 3rd party modules that are installed and could be related to the issue: CK Editor

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions