Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1100

Swagger CodeGen WARN i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      https://travis-ci.org/github/apache/fineract/builds/714158191 for https://github.com/apache/fineract/pull/1228 for FINERACT-838 has this:

      Task :generateSwaggerCodeFineract
      
      12:52:44.707 [Thread-0] WARN  i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew
      
      12:52:44.722 [Thread-0] WARN  i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew
      
      <====---------> 33% EXECUTING [10s]> :generateSwaggerCodeFineractodel name. Renamed to ModelNew
      
      12:52:44.733 [Thread-0] WARN  i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew
      
      12:52:44.742 [Thread-0] WARN  i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew
      
      12:52:44.748 [Thread-0] WARN  i.s.c.v.g.java.AbstractJavaCodegen - New (reserved word) cannot be used as model name. Renamed to ModelNew

      I'm not sure what this means, and how easy it would be to address this? Chinmay Kulkarni would you happen to know, or be willing to look into this, and either raise a PR to addresss it, or document your findings here?

      Manthan Surkar Petri Tuomola FYI.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Grandolf49 Chinmay Kulkarni
              Reporter:
              vorburger Michael Vorburger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment