OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • HelloWorld Example cant save
« previous next »
  • Print
Pages: [1]

Author Topic: HelloWorld Example cant save  (Read 3795 times)

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
HelloWorld Example cant save
« on: September 16, 2017, 06:35:54 pm »
Hi, i just want to test the HelloWorld Plugin from the developer repo under opnsense 17.7.2, i copied all files in place but if i try to save something under !HelloWorld , it tells me:

Code: [Select]
Input validation
Please correct validation errors in form

{
  "result": "failed",
  "validations": {
    "helloworld.general.SMTPHost": "please specify a valid network segment or address (IPv4/IPv6) ",
    "helloworld.general.ToEmail": "please specify a valid email address",
    "helloworld.general.Description": "text validation error"
  }
}

i gave:
Code: [Select]
Enable [x]
127.0.0.1
sample1@example.com
sample2@example.com
description

whats wrong ?

« Last Edit: September 16, 2017, 06:39:12 pm by bobbis »
Logged

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
Re: HelloWorld Example cant save
« Reply #1 on: September 16, 2017, 07:00:32 pm »
strange: with palemoon i am not able to save but with chromium it works .....
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: HelloWorld Example cant save
« Reply #2 on: September 18, 2017, 09:16:43 am »
It's probably a jQuery compatibility issue:

https://jquery.com/browser-support/


Cheers,
Franco
« Last Edit: September 18, 2017, 10:49:05 am by franco »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • HelloWorld Example cant save
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2