Code Monkey home page Code Monkey logo

raddb's People

Contributors

dependabot[bot] avatar imabug avatar scythe avatar stylecibot avatar

Watchers

 avatar  avatar  avatar

Forkers

scythe

raddb's Issues

Adding new survey is broken

Adding a new survey produces this error

QueryException in Connection.php line 769:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (raddb.testdates, CONSTRAINT testdates_tester2_id_foreign FOREIGN KEY (tester2_id) REFERENCES testers (id)) (SQL: insert into testdates (test_date, machine_id, tester1_id, type_id, accession, updated_at, created_at) values (2017-1-1, 11, 2, 1, 4454545, 2016-12-09 10:58:55, 2016-12-09 10:58:55))

Bad URL for adding new operational note

URL for adding a new operational note from the machine detail page isn't being generated properly.
http://localhost:8000/opnotes/create?288 is being created, but should be getting something like http://localhost:8000/opnotes/288/create instead.

Error uploading survey report

ReflectionException in RouteSignatureParameters.php line 25:
Class RadDB\Http\Controllers\StoreSurveyReport does not exist

error produced when uploading a service report

Adding new survey produces an error

The notes must be a string. error produced when adding a new survey with empty notes field.
Shouldn't be a required field for submitting the form

Error updating machine status

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list' (SQL: update `machines` set `notes` = Site 67284
Unit disabled and locked out Dec-2016, `updated_at` = 2017-01-17 09:32:27, `status` = Inactive where `id` = 10)```

when attempting to update machine status from machine details page

Validation errors when adding new survey recommendations

The rec resolve date does not match the format Y-m-d.
The resolved by must be a string.

validation errors were produced when adding a new survey recommendation. These should not be checked for unless the resolved checkbox is set.

"Creating default object from empty value" when resolving a recommendation

ErrorException in RecommendationController.php line 179: Creating default object from empty value in RecommendationController.php line 179 at HandleExceptions->handleError('2', 'Creating default object from empty value', '/opt/www/raddb/app/Http/Controllers/RecommendationController.php', '179', array('request' => object(Request), 'surveyID' => '2016', 'resolved' => array('3187'), 'recResolveDate' => '2017-01-11', 'serviceReportPath' => 'public/ServiceReports/22b0fda0a1cc4d42bf4187706692b145.pdf', 'recommendation' => object(stdClass))) in RecommendationController.php line 179

Missing machines in survey schedule

Machines that don't have a survey in the previous year are missing from the survey schedule listing on the index page.

Need to adjust the $surveySchedule query to try to grab these machines

Error resolving recommendation

Resolving a single recommendation from recommendation listing page results in an error

ErrorException in RecommendationController.php line 184:
Invalid argument supplied for foreach()

Refactor report handling

Split survey and service report handling into their own controllers. Should make for easier maintenance.

Need user roles

Should have user roles such as admin to separate user functions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.