Skip to content

spring-webflux ModelAttributeMethodArgumentResolver validateIfApplicable [SPR-17073] #21611

Closed

Description

@spring-projects-issues

Tian Wang opened SPR-17073 and commented

spring-web the same function code is

Object[] validationHints = determineValidationHints(ann);

spring-webflux is 

Object hintArray = (hints instanceof Object[] ? (Object[]) hints : new Object[] {hints});

should be 

Object[] hintArray = (hints instanceof Object[] ? (Object[]) hints : new Object[] {hints});

 

 


Affects: 5.0.5

Issue Links:

Referenced from: commits 3c65c17, 192113d

Activity

  1. spring-projects-issues commented on Jul 21, 2018

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Good catch! I'll generally align that code with 5.1's revision in ModelAttributeMethodProcessor, also not passing in empty hints as null but rather as empty array.

  2. added
    type: bug
    in: web
    on Jan 11, 2019
  3. added this to the 5.0.8 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions