Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 831 for INVALID (0.17 sec)

  1. tests/hooks_test.go

    	DB.Migrator().DropTable(&Product{})
    	DB.AutoMigrate(&Product{})
    
    	p := Product{Code: "Invalid", Price: 100}
    	if DB.Save(&p).Error == nil {
    		t.Fatalf("An error from before create callbacks happened when create with invalid value")
    	}
    
    	if DB.Where("code = ?", "Invalid").First(&Product{}).Error == nil {
    		t.Fatalf("Should not save record that have errors")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. schema/naming_test.go

    	if idxName != "idx_public_table_name" {
    		t.Errorf("invalid index name generated, got %v", idxName)
    	}
    
    	chkName := ns.CheckerName("public.table", "name")
    	if chkName != "chk_public_table_name" {
    		t.Errorf("invalid checker name generated, got %v", chkName)
    	}
    
    	joinTable := ns.JoinTableName("user_languages")
    	if joinTable != "public.user_languages" {
    		t.Errorf("invalid join table generated, got %v", joinTable)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. errors.go

    	// ErrInvalidField invalid field
    	ErrInvalidField = errors.New("invalid field")
    	// ErrEmptySlice empty slice found
    	ErrEmptySlice = errors.New("empty slice found")
    	// ErrDryRunModeUnsupported dry run mode unsupported
    	ErrDryRunModeUnsupported = errors.New("dry run mode unsupported")
    	// ErrInvalidDB invalid db
    	ErrInvalidDB = errors.New("invalid db")
    	// ErrInvalidValue invalid value
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. tests/main_test.go

    		t.Skip("skip sqlserver due to it will raise data race for invalid sql")
    	}
    
    	var columns []string
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // secret invalid
    			args:           strings.Split("secret invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config secret invalid" should fail
    		},
    		{ // endpoint invalid
    			args:           strings.Split("endpoint invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. tests/test_validate_response.py

    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    def get_valid_none(send_none: bool = False):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VFMLS	V1.B16, V12.B16, V3.B16                          // ERROR "invalid arrangement"
    	VFMLS	V1.H4, V12.H4, V3.H4                             // ERROR "invalid arrangement"
    	VFMLS	V1.H8, V12.H8, V3.H8                             // ERROR "invalid arrangement"
    	VFMLS	V1.H4, V12.H4, V3.H4                             // ERROR "invalid arrangement"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

    import org.lastaflute.web.validation.VaErrorHook;
    
    public class LoginAction extends FessLoginAction {
    
        private static final Logger logger = LogManager.getLogger(LoginAction.class);
    
        private static final String INVALID_OLD_PASSWORD = "LoginAction.invalidOldPassword";
    
        // ===================================================================================
        // Attribute
        //
        @Resource
        private UserService userService;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/resources/fess_message_en.properties

    errors.invalid_query_unknown=The given query has unknown condition.
    errors.invalid_query_parse_error=The given query is invalid.
    errors.invalid_query_sort_value=The given sort ({0}) is invalid.
    errors.invalid_query_unsupported_sort_field=The given sort ({0}) is not supported.
    errors.invalid_query_unsupported_sort_order=The given sort order ({0}) is not supported.
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Mar 18 03:05:44 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Code:           "NoSuchUpload",
    		Description:    "The specified multipart upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrInvalidVersionID: {
    		Code:           "InvalidArgument",
    		Description:    "Invalid version id specified",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchVersion: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top