Containers to run the MOCITEC 2023 website.
Clone the repository:
git clone <MOCITEC_2023_PRIVATE_REPOSITORY_URL> app
docker-compose up -d
Api is not handling errors when trying to create a new project without providing the right parameters.
The following request:
POST /projects
Body:
title: "Test"
abstract: "Test"
Some kind of api error asking for the missing parameters should be returned.
The following error is returned:
Warning: Undefined array key "level_id" in /var/www/html/source/App/MocitecApi/Projects.php on line 85
Warning: Undefined array key "field_id" in /var/www/html/source/App/MocitecApi/Projects.php on line 86
Warning: Undefined array key "keyword_01" in /var/www/html/source/App/MocitecApi/Projects.php on line 88
Warning: Undefined array key "keyword_02" in /var/www/html/source/App/MocitecApi/Projects.php on line 89
Warning: Undefined array key "keyword_03" in /var/www/html/source/App/MocitecApi/Projects.php on line 90
Fatal error: Uncaught TypeError: Source\Models\Project::bootstrap(): Argument #4 ($levelId) must be of type int, null given, called in /var/www/html/source/App/MocitecApi/Projects.php on line 90 and defined in /var/www/html/source/Models/Project.php:28 Stack trace: #0 /var/www/html/source/App/MocitecApi/Projects.php(90): Source\Models\Project->bootstrap() #1 /var/www/html/vendor/coffeecode/router/src/RouterTrait.php(114): Source\App\MocitecApi\Projects->create() #2 /var/www/html/vendor/coffeecode/router/src/Dispatch.php(197): CoffeeCode\Router\Dispatch->execute() #3 /var/www/html/mocitecapi/index.php(109): CoffeeCode\Router\Dispatch->dispatch() #4 {main} thrown in /var/www/html/source/Models/Project.php on line 28
Api is not handling errors when trying to create a new project without providing the right parameters.
The following request:
POST /projects
Body:
title: "Test"
abstract: "Test"
Some kind of api error asking for the missing parameters should be returned.
The following error is returned:
Warning: Undefined array key "level_id" in /var/www/html/source/App/MocitecApi/Projects.php on line 85
Warning: Undefined array key "field_id" in /var/www/html/source/App/MocitecApi/Projects.php on line 86
Warning: Undefined array key "keyword_01" in /var/www/html/source/App/MocitecApi/Projects.php on line 88
Warning: Undefined array key "keyword_02" in /var/www/html/source/App/MocitecApi/Projects.php on line 89
Warning: Undefined array key "keyword_03" in /var/www/html/source/App/MocitecApi/Projects.php on line 90
Fatal error: Uncaught TypeError: Source\Models\Project::bootstrap(): Argument #4 ($levelId) must be of type int, null given, called in /var/www/html/source/App/MocitecApi/Projects.php on line 90 and defined in /var/www/html/source/Models/Project.php:28 Stack trace: #0 /var/www/html/source/App/MocitecApi/Projects.php(90): Source\Models\Project->bootstrap() #1 /var/www/html/vendor/coffeecode/router/src/RouterTrait.php(114): Source\App\MocitecApi\Projects->create() #2 /var/www/html/vendor/coffeecode/router/src/Dispatch.php(197): CoffeeCode\Router\Dispatch->execute() #3 /var/www/html/mocitecapi/index.php(109): CoffeeCode\Router\Dispatch->dispatch() #4 {main} thrown in /var/www/html/source/Models/Project.php on line 28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.