Page 1 of 1

Direct edit dimension collection has not been cleared before commit

Posted: Thu Jun 22, 2017 2:23 pm
by lotsaram
Has anyone ever seen the following ERROR status log message in the tm1server.log and know what it means?

ERROR TM1.Commit Direct edit dimension collection has not been cleared before commit.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Tue Jul 04, 2017 2:28 pm
by qml
What version did you see it in?

I have started seeing this message after upgrading our on-premise 10.2.2 from build 10.2.20300.98 to build 10.2.20700.43. It happens at the end of any process that makes use of the Direct metadata functions, but seems to have no impact on the completion status of the process or its outcomes. However, I have seen it coincide with a rollback/restart of a process on one occasion - but I don't have enough evidence to conclude that it was caused by this error.

In any case this looks like a defect to me.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Tue Jul 04, 2017 5:26 pm
by lotsaram
Thanks for the response. This is on 10.2.2 FP7 and we didn't see it on FP5 which was the previous version on this site.

Got a somewhat dubious response from support which didn't clarify at all whether this is an actual error or overenthusiastic logging.

Although there is is odd (very rare) use of DimensionElementInsertDirect in the system with the error the odder thing is that this error crops up at random after commits of dimensions and not always necessarily the ones where TI is using the direct update functions.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Wed Jul 12, 2017 11:38 am
by Gabor
I've seen that error after moving to 10.2.2 FP7, but could get rid of the message by adding "DimensionUpdateDirect(DimName)" at the end of the Epilog of each process handling with direct dim updates.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Thu Jul 13, 2017 9:37 am
by qml
Gabor wrote:I've seen that error after moving to 10.2.2 FP7, but could get rid of the message by adding "DimensionUpdateDirect(DimName)" at the end of the Epilog of each process handling with direct dim updates.
Weird. I always do the DImensionUpdateDirect in Epilog after any Direct inserts, mostly because without that rules don't get attached to elements added in that way (one to look out for). Despite that I still see the same error as Lotsa.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Thu Jul 13, 2017 2:22 pm
by lotsaram
From own testing and confirmed from IBM support adding DimensionUpdateDirect to the Epilog does not make this error message go away.

What I still don't know is whether the error actually is an "error" or just something g that should be ignored.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Tue Oct 17, 2017 5:18 pm
by lotsaram
By way of update support opened a collab with development on this error and it seems that IBM development believe the error message is caused by an empty subset or UDC at the time the dimension is updated. Thus can be filed into the category of "not really an error".

Re: Direct edit dimension collection has not been cleared before commit

Posted: Mon Aug 06, 2018 9:18 am
by Steve Vincent
Except that if you happen to be rebuilding a dimension then the 1st element to be added causes this error, and subsequent tasks on the dim fail. I'm currently getting errors on adding attribute values because of this; TM1 doesn't think my elements have been added, and on completion the dim is missing them.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Fri Jul 12, 2019 8:11 am
by John Hammond
Agreed, both elements and attributes can go missing.

Ignore this error message at you peril!

Re: Direct edit dimension collection has not been cleared before commit

Posted: Thu Nov 14, 2019 8:06 pm
by Wim Gielis
https://www-01.ibm.com/support/docview. ... wg1PI83033

IBM say to upgrade to 2.0.6 but in 2.0.8 I still get this error/no error, so I'm confused here.

Re: Direct edit dimension collection has not been cleared before commit

Posted: Tue May 11, 2021 1:14 pm
by Wim Gielis
I still see this message at the customer (not sure what version).

But I noticed an update by IBM: https://www.ibm.com/support/pages/apar/PH23571

Re: Direct edit dimension collection has not been cleared before commit

Posted: Tue May 11, 2021 3:34 pm
by lotsaram
Wim Gielis wrote: Tue May 11, 2021 1:14 pm I still see this message at the customer (not sure what version).

But I noticed an update by IBM: https://www.ibm.com/support/pages/apar/PH23571
I also recall seeing this message ALL_THE_BLOODY_TIME
However, have been on 2.0.9.6 now for quite a while and I don't recall seeing it in this version.