Loading...
 
Skip to main content

Cleaning and improving console.php batch:upload command feedback

Status
Closed
Subject
Cleaning and improving console.php batch:upload command feedback
Version
20.x
21.x
Category
  • Consistency
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
Console / Command Line
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Jorge Sá Pereira
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Related-to
Description
Copy to clipboard
[root@ip-xxxxx html]# php console.php files:batchupload 5 --confirm <feedback>feedback: Image was reduced: %s x %s -> %s x %s </feedback>

  • HTML feedback is returned when using the console.php: It should be returned without tag.
  • Un-needed or malformed feedback was returned: If no reduction it should return nothing or something like "Images where upload at original size".
  • Expected message is missing: Should return something like "n files were successfully uploaded" (can be improved with the files, path and galleryId ?)


Is it returned only when all files are images or even if files are PDF (message is not relevant and erroneous)


  • HTML feedback is returned also for tracker:import
Copy to clipboard
<feedback>feedback: 9 tracker(s) item(s) updated </feedback>


Importance
3
Easy to solve?
8
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7271
Created
Friday 21 February, 2020 06:35:57 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Sunday 31 July, 2022 06:46:48 UTC


Show PHP error messages