MultiDim unexpectedly inserts entries into ChangeHistory
See original GitHub issueWorkflow to reproduce the problem:
- Start
MultiDim
local plugin. - Start
ChangeHistory
global plugin. - Load a data cube.
- With
ChangeHistory
(“History” tab) in view, click on “next slice” (double-arrow) button onMultiDim
and watch a new entry magically appears onChangeHistory
for that image. - Click on “next slice” again or “prev slice” to see another such entry.
Example screenshot:
I suspect this is caused by either block_callback('modified')
or unblock_callback('modified')
in MultiDim.py
. I just never caught this before until now because I rarely start up ChangeHistory
with data cubes, but I think this has been happening for a while.
This bug is harmless but confusing, in the sense that it does not actually change the input data cube, but merely reported that it has done so.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Data Store Object---Few Terminologies--Types of DSOs
Data can be loaded from several source systems at the same time because a queuing mechanism enables a parallel INSERT. The key allows...
Read more >Fix List for DB2 Version 10.5 for Linux, UNIX and Windows - IBM
APAR Sev. Abstract
IJ11422 2 MEMORY LEAK IN DB2TOP WHEN VIEWING DYNAMIC SQL
IT28111 2 QUERIES USING HASH JOINS MAY HANG INTERMITTENTLY
IT29647 2 SIG#11 RUNNING...
Read more >Oracle Sales and B2B Service Cloud 19C New Feature ...
When a business user sees an unexpected change on a business object, he can quickly zero in on the change using the search...
Read more >Oracle Smart View User Guide - Inside NKU
Inserting Links and Cross-References to Pages in Doclets ... For example, Figure 1 shows the entries for connecting to an Oracle Essbase.
Read more >A Course in In-Memory Data Management - Springer Link
introduced, where new entries are written to a differential buffer first. In contrast to the main store, the differential buffer is optimized for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, after looking at the particular combination of tests, I think your modification will work. I’ll merge it and submit as a PR.
I think it may be slightly difficult, due to the fact that the
modified
callback is in only some cases tied to changes that should be recorded inChangeHistory
and then only because the user set some particular metadata in the channelinfo
for an image, prior to the change.One thing we might do is to detect that the plugin is trying to set the
reason_modified
attribute in the channelinfo
for an image, and throw up an error message then. We’d probably want to check very specifically for this attribute name, since there should be no real reason to disallow the plugin from otherwise adding arbitrary data to the info, as other plugins (e.g.Thumbs
, etc) already do.