Loading...
 
Skip to main content

image resize at the browser before uploading in trunk: Incorrect integer value: '' for column 'deleteAfter' at row 1

Status
Closed
Subject
image resize at the browser before uploading in trunk: Incorrect integer value: '' for column 'deleteAfter' at row 1
Version
16.x
Category
  • Error
Feature
Edit interface (UI)
File Gallery (elFinder or standard UI)
Resolution status
Works For Me
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(1)
Description

There is a new feature committed in trunk only so far which allows to resize images to a specified size in the browser before uploading to the tiki at the server.

In my local test I did setup this environment:

  • applied "collaborative community 12x" profile, and created a file gallery called "foobar", allowed to upload images by others, etc., add some values to the default settings of max image width and height per gallery, and attempted to upload one image file to that file gallery overiding the max width and height in that file upload.


After uploading the image, I saw just below the image thumbnail:

Copy to clipboard
File upload failed: Forbidden


And in a higher position next to the page top, this other message was shown:

Copy to clipboard
Incorrect integer value: '' for column 'deleteAfter' at row 1


See screenshot:
Image

I'm using php 7 and mysql 5.7 in my local machine where I tested, in case this matters.

I'll see if I can reproduce in a show.t.o instance


I can't reproduce since I can't login to the new trunk show.t.o instance just created, neither with Chrome nor Firefox, with the usual credentials for the first connection:
u: admin
p: admin

Removed the show instance, and created another one, and same effect.

Solution
It seems to work for me in another instance, so unable to reproduce, therefore closing as "Works for me".
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6009
Created
Friday 24 June, 2016 14:10:04 UTC
by Xavier de Pedro
LastModif
Wednesday 29 June, 2016 07:05:46 UTC


Show PHP error messages