# Bug: deleting property from object type

**URL:** <https://community.openbis.ch/t/bug-deleting-property-from-object-type/190>\
**Category:** General\
**Created:** [9 June 2023 09:44 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190 "2023-06-09T09:44:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://community.openbis.ch/u/jan)\
**Post date:** [9 June 2023 09:44 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/1 "2023-06-09T09:44:56Z")

</div>

Hi everyone,

first of all, I’m not sure where this belongs, so please move my topic if necessary.

I’m having an issue deleting a property from an object type. The object type was already in use, so I get a warning when trying to remove it:

 ![openBIS_warning](https://europe1.discourse-cdn.com/flex013/uploads/openbis/original/1X/5e5ae146c0c7f2235538c294b019bfab23957d3c.png)  
After confirming the error, I get the following error when trying to save the changes (full stack trace). Is there potentially something I could do differently to resolve this issue? Thank you for your support!

```auto
NaN : * (Context: [updating relation entity-type-property-type (1/1) {
  "entity" : {
    "class" : "SampleTypePE",
    "id" : 15,
    "permId" : "CONDUCTIVE",
    "identifier" : "CONDUCTIVE"
  },
  "update" : {
    "@type" : "as.dto.sample.update.SampleTypeUpdate",
    "@id" : 1,
    "typeId" : {
      "@type" : "as.dto.entitytype.id.EntityTypePermId",
      "@id" : 2,
      "permId" : "CONDUCTIVE",
      "entityKind" : "SAMPLE"
    },
    "propertyAssignments" : {
      "@type" : "as.dto.entitytype.update.PropertyAssignmentListUpdateValue",
      "@id" : 3,
      "actions" : [ {
        "@type" : "as.dto.common.update.ListUpdateActionRemove",
        "@id" : 4,
        "items" : [ {
          "@type" : "as.dto.property.id.PropertyAssignmentPermId",
          "@id" : 5,
          "entityTypeId" : {
            "@type" : "as.dto.entitytype.id.EntityTypePermId",
            "@id" : 6,
            "permId" : "CONDUCTIVE",
            "entityKind" : "SAMPLE"
          },
          "propertyTypeId" : {
            "@type" : "as.dto.property.id.PropertyTypePermId",
            "@id" : 7,
            "permId" : "PASTE.CURING_TEMP"
          }
        } ]
      } ],
      "forceRemovingAssignments" : true
    }
  }
}])
Hide stack trace

java.lang.RuntimeException: NaN : * (Context: [updating relation entity-type-property-type (1/1) {
  "entity" : {
    "class" : "SampleTypePE",
    "id" : 15,
    "permId" : "CONDUCTIVE",
    "identifier" : "CONDUCTIVE"
  },
  "update" : {
    "@type" : "as.dto.sample.update.SampleTypeUpdate",
    "@id" : 1,
    "typeId" : {
      "@type" : "as.dto.entitytype.id.EntityTypePermId",
      "@id" : 2,
      "permId" : "CONDUCTIVE",
      "entityKind" : "SAMPLE"
    },
    "propertyAssignments" : {
      "@type" : "as.dto.entitytype.update.PropertyAssignmentListUpdateValue",
      "@id" : 3,
      "actions" : [ {
        "@type" : "as.dto.common.update.ListUpdateActionRemove",
        "@id" : 4,
        "items" : [ {
          "@type" : "as.dto.property.id.PropertyAssignmentPermId",
          "@id" : 5,
          "entityTypeId" : {
            "@type" : "as.dto.entitytype.id.EntityTypePermId",
            "@id" : 6,
            "permId" : "CONDUCTIVE",
            "entityKind" : "SAMPLE"
          },
          "propertyTypeId" : {
            "@type" : "as.dto.property.id.PropertyTypePermId",
            "@id" : 7,
            "permId" : "PASTE.CURING_TEMP"
          }
        } ]
      } ],
      "forceRemovingAssignments" : true
    }
  }
}])
	at ch.ethz.sis.openbis.generic.server.asapi.v3.utils.ExceptionUtils.create(ExceptionUtils.java:29)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.doExecute(OperationsExecutor.java:707)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.execute(OperationsExecutor.java:664)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.SynchronousOperationExecutor.execute(SynchronousOperationExecutor.java:82)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.ExecuteOperationExecutor.execute(ExecuteOperationExecutor.java:56)
	at jdk.internal.reflect.GeneratedMethodAccessor426.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy147.execute(Unknown Source)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApi.executeOperations(ApplicationServerApi.java:1670)
	at jdk.internal.reflect.GeneratedMethodAccessor1261.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at ch.systemsx.cisd.openbis.generic.server.ServerExceptionTranslatingAdvisor$UserFailureExceptionTranslatingInterceptor.invoke(ServerExceptionTranslatingAdvisor.java:78)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at ch.systemsx.cisd.openbis.generic.server.OptimisticLockingRetryAdvisor$RetryInterceptor.invoke(OptimisticLockingRetryAdvisor.java:85)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at ch.systemsx.cisd.openbis.common.spring.LogInterceptor.invoke(LogInterceptor.java:115)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at ch.systemsx.cisd.openbis.common.pat.PersonalAccessTokenInterceptor$PersonalAccessTokenInvocation.proceedWithNewFirstArgument(PersonalAccessTokenInterceptor.java:82)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApiPersonalAccessTokenInvocationHandler.executeOperations(ApplicationServerApiPersonalAccessTokenInvocationHandler.java:1218)
	at jdk.internal.reflect.GeneratedMethodAccessor1261.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at ch.systemsx.cisd.openbis.common.pat.PersonalAccessTokenInterceptor.invoke(PersonalAccessTokenInterceptor.java:41)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at ch.systemsx.cisd.openbis.generic.server.LongRunningThreadInterceptor.invoke(LongRunningThreadInterceptor.java:50)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy135.executeOperations(Unknown Source)
	at jdk.internal.reflect.GeneratedMethodAccessor1261.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:112)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy186.executeOperations(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.googlecode.jsonrpc4j.JsonRpcBasicServer.invoke(JsonRpcBasicServer.java:491)
	at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleObject(JsonRpcBasicServer.java:362)
	at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleJsonNodeRequest(JsonRpcBasicServer.java:278)
	at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleRequest(JsonRpcBasicServer.java:243)
	at com.googlecode.jsonrpc4j.JsonRpcServer.handleRequest0(JsonRpcServer.java:185)
	at com.googlecode.jsonrpc4j.JsonRpcServer.handle(JsonRpcServer.java:144)
	at com.googlecode.jsonrpc4j.spring.JsonServiceExporter.handleRequest(JsonServiceExporter.java:33)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApiJsonServer.handleRequest(ApplicationServerApiJsonServer.java:63)
	at jdk.internal.reflect.GeneratedMethodAccessor402.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:871)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:777)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:881)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at ch.systemsx.cisd.common.servlet.AbstractCrossOriginFilter.doFilter(AbstractCrossOriginFilter.java:124)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at ch.systemsx.cisd.openbis.generic.server.CacheFilter.doFilter(CacheFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at ch.systemsx.cisd.common.servlet.HeaderFilter.doFilter(HeaderFilter.java:65)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at ch.systemsx.cisd.common.servlet.MethodFilter.doFilter(MethodFilter.java:63)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: NaN : *
	at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.getNumber(HibernateSearchDAOV3Adaptor.java:1233)
	at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.adapt(HibernateSearchDAOV3Adaptor.java:628)
	at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.searchForEntityIds(HibernateSearchDAOV3Adaptor.java:291)
	at ch.systemsx.cisd.openbis.generic.server.business.search.SampleSearchManager.findSampleIds(SampleSearchManager.java:180)
	at ch.systemsx.cisd.openbis.generic.server.business.search.SampleSearchManager.searchForSampleIDs(SampleSearchManager.java:123)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.SearchSampleExecutor.doSearch(SearchSampleExecutor.java:51)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.search.AbstractSearchObjectExecutor.search(AbstractSearchObjectExecutor.java:161)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.search.AbstractSearchObjectExecutor.search(AbstractSearchObjectExecutor.java:93)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.removeAssignments(AbstractUpdateEntityTypePropertyTypesExecutor.java:259)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.remove(AbstractUpdateEntityTypePropertyTypesExecutor.java:145)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.update(AbstractUpdateEntityTypePropertyTypesExecutor.java:124)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.access$000(AbstractUpdateEntityTypePropertyTypesExecutor.java:64)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.process(AbstractUpdateEntityTypePropertyTypesExecutor.java:100)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.process(AbstractUpdateEntityTypePropertyTypesExecutor.java:94)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.helper.common.batch.MapBatchProcessor.<init>(MapBatchProcessor.java:43)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.<init>(AbstractUpdateEntityTypePropertyTypesExecutor.java:94)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.update(AbstractUpdateEntityTypePropertyTypesExecutor.java:93)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypeExecutor.updateAll(AbstractUpdateEntityTypeExecutor.java:163)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityExecutor.update(AbstractUpdateEntityExecutor.java:88)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.UpdateSampleTypesOperationExecutor.doExecute(UpdateSampleTypesOperationExecutor.java:54)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.UpdateSampleTypesOperationExecutor.doExecute(UpdateSampleTypesOperationExecutor.java:36)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor$2.execute(OperationExecutor.java:96)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor$2.execute(OperationExecutor.java:88)
	at ch.systemsx.cisd.openbis.generic.server.ConcurrentOperationLimiter.executeLimited(ConcurrentOperationLimiter.java:108)
	at ch.systemsx.cisd.openbis.generic.server.ConcurrentOperationLimiter.executeLimitedWithTimeout(ConcurrentOperationLimiter.java:85)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor.execute(OperationExecutor.java:87)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.executeUpdates(OperationsExecutor.java:827)
	at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.doExecute(OperationsExecutor.java:683)
	... 128 more

```

---

<div class="post-metadata">

**Author:** ![cbarillari](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/cbarillari/32/10_2.png) [@cbarillari](https://community.openbis.ch/u/cbarillari)\
**Post date:** [15 June 2023 13:59 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/2 "2023-06-15T13:59:21Z")

</div>

which openBIS version are you using?

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://community.openbis.ch/u/jan)\
**Post date:** [15 June 2023 14:14 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/3 "2023-06-15T14:14:35Z")

</div>

I am using Version 20.10.6

---

<div class="post-metadata">

**Author:** ![cbarillari](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/cbarillari/32/10_2.png) [@cbarillari](https://community.openbis.ch/u/cbarillari)\
**Post date:** [16 June 2023 12:31 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/4 "2023-06-16T12:31:29Z")

</div>

One of our developers will get back to you. I am not able to reproduce the issue on a test server running the same openBIS version, I can remove a property assigned to an object i use

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://community.openbis.ch/u/jan)\
**Post date:** [16 June 2023 12:43 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/5 "2023-06-16T12:43:12Z")

</div>

Thank you very much! I’ll also do some additional testing in the meantime.

---

<div class="post-metadata">

**Author:** ![cmadaria](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cmadaria](https://community.openbis.ch/u/cmadaria)\
**Post date:** [19 June 2023 13:39 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/6 "2023-06-19T13:39:29Z")

</div>

Dear openBIS team and users,  
I came back to this topic, as we have the same problem in our openBIS instances, with the only difference that our object type was not in use, but we couldn’t delete the property anyway.

In fact, I was exploring in depth the problem, and I have realised that it is something that doesn’t happens with every property type. With some of them, you receive this error when trying to remove them, but with others (pasted on the bottom), you can delete them and save without any problem (the error appears when you click on “Save” button, not when you click on “Delete”).

> PROPERTY TYPES THAT FAIL WHEN DELETED:
> 
> REAL  
> BOOLEAN  
> DATE - The error says: “String doesn’t contains a date”, but it just appears when you delete the DATE property and you SAVE, not before saving, neither when you create the property and assign the value  
> INTEGER  
> TIMESTAMPS - The error says: "Date value: equal to ‘\*’ does not match any of the supported formats: [y-M-d HH:mm:ss, y-M-d HH:mm, y-M-d], and same situation that with date
> 
> PROPERTY TYPES WORKING PROPERLY:
> 
> VARCHAR  
> MULTINE\_VARCHAR  
> CONTROLLEDVOCABULARY  
> HYPERLINK  
> MATERIAL  
> OBJECT  
> XML

So, for the moment, we can just change the property type to one of this types that can be deleted, and afterwards, delete them normally, but I don’t think this is the regular way of working with it. I hope you found a solution to solve this problem.

Thank you very much in advance!

---

<div class="post-metadata">

**Author:** ![juanf](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/juanf/32/18_2.png) [@juanf](https://community.openbis.ch/u/juanf)\
**Post date:** [28 June 2023 13:05 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/7 "2023-06-28T13:05:19Z")

</div>

This is a known bug, expect a fix on next minor release. Maybe in 1-2 weeks.

---

<div class="post-metadata">

**Author:** ![cmadaria](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cmadaria](https://community.openbis.ch/u/cmadaria)\
**Post date:** [28 June 2023 14:13 UTC](https://community.openbis.ch/t/bug-deleting-property-from-object-type/190/8 "2023-06-28T14:13:47Z")

</div>

Nice to know, thank you Juan!
