Uploaded image for project: 'mod-circulation-storage'
  1. mod-circulation-storage
  2. CIRCSTORE-227

Record "new" has no field "loanspolicy_fixedduedatescheduleid"

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      CP: sprint 94
    • Development Team:
      Core: Platform

      Description

      Overview:
      This bug happens when registering tenant for 'mod-circulation-storage-12.1.0-SNAPSHOT.251'

      Steps to Reproduce:
      In Scratch Env. setup 'mod-circulation-storage-12.1.0-SNAPSHOT.251' and try 'docker run --rm --name folio-okapi-registration1 -e TENANT_ID=diku -e OKAPI_URL=https://<project name>-okapi.ci.folio.org -e MODULE_NAME=mod-circulation-storage docker.dev.folio.org/folio-okapi-registration'

      Expected Results:
      Normal tenant registration

      Actual Results:
      Error log:

      28 Jul 2020 11:55:23:742 ERROR TenantLoading [] PUT http://mod-circulation-storage/loan-policy-storage/loan-policies/43198de5-f56a-4a53-a0bd-5a324418967a returned status 400: {
        "cause" : null,
        "stackTrace" : [ {
          "methodName" : "toException",
          "fileName" : "ErrorResponse.java",
          "lineNumber" : 29,
          "className" : "io.vertx.pgclient.impl.codec.ErrorResponse",
          "nativeMethod" : false
        }, {
          "methodName" : "handleErrorResponse",
          "fileName" : "QueryCommandBaseCodec.java",
          "lineNumber" : 57,
          "className" : "io.vertx.pgclient.impl.codec.QueryCommandBaseCodec",
          "nativeMethod" : false
        }, {
          "methodName" : "handleErrorResponse",
          "fileName" : "ExtendedQueryCommandBaseCodec.java",
          "lineNumber" : 70,
          "className" : "io.vertx.pgclient.impl.codec.ExtendedQueryCommandBaseCodec",
          "nativeMethod" : false
        }, {
          "methodName" : "decodeError",
          "fileName" : "PgDecoder.java",
          "lineNumber" : 233,
          "className" : "io.vertx.pgclient.impl.codec.PgDecoder",
          "nativeMethod" : false
        }, {
          "methodName" : "decodeMessage",
          "fileName" : "PgDecoder.java",
          "lineNumber" : 122,
          "className" : "io.vertx.pgclient.impl.codec.PgDecoder",
          "nativeMethod" : false
        }, {
          "methodName" : "channelRead",
          "fileName" : "PgDecoder.java",
          "lineNumber" : 102,
          "className" : "io.vertx.pgclient.impl.codec.PgDecoder",
          "nativeMethod" : false
        }, {
          "methodName" : "channelRead",
          "fileName" : "CombinedChannelDuplexHandler.java",
          "lineNumber" : 251,
          "className" : "io.netty.channel.CombinedChannelDuplexHandler",
          "nativeMethod" : false
        }, {
          "methodName" : "invokeChannelRead",
          "fileName" : "AbstractChannelHandlerContext.java",
          "lineNumber" : 379,
          "className" : "io.netty.channel.AbstractChannelHandlerContext",
          "nativeMethod" : false
        }, {
          "methodName" : "invokeChannelRead",
          "fileName" : "AbstractChannelHandlerContext.java",
          "lineNumber" : 365,
          "className" : "io.netty.channel.AbstractChannelHandlerContext",
          "nativeMethod" : false
        }, {
          "methodName" : "fireChannelRead",
          "fileName" : "AbstractChannelHandlerContext.java",
          "lineNumber" : 357,
          "className" : "io.netty.channel.AbstractChannelHandlerContext",
          "nativeMethod" : false
        }, {
          "methodName" : "channelRead",
          "fileName" : "DefaultChannelPipeline.java",
          "lineNumber" : 1410,
          "className" : "io.netty.channel.DefaultChannelPipeline$HeadContext",
          "nativeMethod" : false
        }, {
          "methodName" : "invokeChannelRead",
          "fileName" : "AbstractChannelHandlerContext.java",
          "lineNumber" : 379,
          "className" : "io.netty.channel.AbstractChannelHandlerContext",
          "nativeMethod" : false
        }, {
          "methodName" : "invokeChannelRead",
          "fileName" : "AbstractChannelHandlerContext.java",
          "lineNumber" : 365,
          "className" : "io.netty.channel.AbstractChannelHandlerContext",
          "nativeMethod" : false
        }, {
          "methodName" : "fireChannelRead",
          "fileName" : "DefaultChannelPipeline.java",
          "lineNumber" : 919,
          "className" : "io.netty.channel.DefaultChannelPipeline",
          "nativeMethod" : false
        }, {
          "methodName" : "read",
          "fileName" : "AbstractNioByteChannel.java",
          "lineNumber" : 163,
          "className" : "io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe",
          "nativeMethod" : false
        }, {
          "methodName" : "processSelectedKey",
          "fileName" : "NioEventLoop.java",
          "lineNumber" : 714,
          "className" : "io.netty.channel.nio.NioEventLoop",
          "nativeMethod" : false
        }, {
          "methodName" : "processSelectedKeysOptimized",
          "fileName" : "NioEventLoop.java",
          "lineNumber" : 650,
          "className" : "io.netty.channel.nio.NioEventLoop",
          "nativeMethod" : false
        }, {
          "methodName" : "processSelectedKeys",
          "fileName" : "NioEventLoop.java",
          "lineNumber" : 576,
          "className" : "io.netty.channel.nio.NioEventLoop",
          "nativeMethod" : false
        }, {
          "methodName" : "run",
          "fileName" : "NioEventLoop.java",
          "lineNumber" : 493,
          "className" : "io.netty.channel.nio.NioEventLoop",
          "nativeMethod" : false
        }, {
          "methodName" : "run",
          "fileName" : "SingleThreadEventExecutor.java",
          "lineNumber" : 989,
          "className" : "io.netty.util.concurrent.SingleThreadEventExecutor$4",
          "nativeMethod" : false
        }, {
          "methodName" : "run",
          "fileName" : "ThreadExecutorMap.java",
          "lineNumber" : 74,
          "className" : "io.netty.util.internal.ThreadExecutorMap$2",
          "nativeMethod" : false
        }, {
          "methodName" : "run",
          "fileName" : "FastThreadLocalRunnable.java",
          "lineNumber" : 30,
          "className" : "io.netty.util.concurrent.FastThreadLocalRunnable",
          "nativeMethod" : false
        }, {
          "methodName" : "run",
          "fileName" : "Thread.java",
          "lineNumber" : 748,
          "className" : "java.lang.Thread",
          "nativeMethod" : false
        } ],
        "severity" : "ERROR",
        "code" : "42703",
        "detail" : null,
        "message" : "record \"new\" has no field \"loanspolicy_fixedduedatescheduleid\"",
        "localizedMessage" : "record \"new\" has no field \"loanspolicy_fixedduedatescheduleid\"",
        "suppressed" : [ ]
      } POST http://mod-circulation-storage/loan-policy-storage/loan-policies returned status 500: record "new" has no field "loanspolicy_fixedduedatescheduleid"
      
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                julianladisch Julian Ladisch
                Reporter:
                Miroshnichenko Stanislav Miroshnichenko
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases