Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Q
qtool
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • amiv
  • qtool
  • Issues
  • #9

Closed
Open
Opened Oct 12, 2018 by Mathis Dedial@mdedialDeveloper

Server-side Validation

Currently, only client-side validation is performed. That's a bad thing™, since we don't want people submitting empty "Belege".

Edit: It appears that there is indeed server-side validation, but it's not correct. E.g. in qbeleg/belegformular/index.php the submitted values are checked with is_null(). However, the variables of an empty field would contain an empty string and not null. Suggestion: Add additional check with empty().

Edited Oct 12, 2018 by Mathis Dedial
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: amiv/qtool#9