Skip to main content

I did create a worksheet plugin.
All well, I could see the new tab (worksheet)
Then I want to rename the component behind the plugin.
So I also renamed the entry in ASN-File.

But nothing happend on the surface of the IDF.
Still the old component is included.
After deleting the old component, I got an error that the signature is missing.
So UnifAce still looks after the old component and not that one defined in ASN

After a little bit of research I found, that IDE_STATE is the problem as it holds still the old names.

Question: Should not the entry in ASN-file override any othe information?
Or how to refresh the IDE_STATE so it uses the changed information?

My workaround was to delete IDE_STATE, but this also droppes all other "settings"

Ingo

I did create a worksheet plugin.
All well, I could see the new tab (worksheet)
Then I want to rename the component behind the plugin.
So I also renamed the entry in ASN-File.

But nothing happend on the surface of the IDF.
Still the old component is included.
After deleting the old component, I got an error that the signature is missing.
So UnifAce still looks after the old component and not that one defined in ASN

After a little bit of research I found, that IDE_STATE is the problem as it holds still the old names.

Question: Should not the entry in ASN-file override any othe information?
Or how to refresh the IDE_STATE so it uses the changed information?

My workaround was to delete IDE_STATE, but this also droppes all other "settings"

Ingo

Hi Ingo,

Yes the logical should be leading, that makes it easier to work with user defined worksheets.

For the time being: it is enough to restart the editor involved, no need to delete the complete state file.


I did create a worksheet plugin.
All well, I could see the new tab (worksheet)
Then I want to rename the component behind the plugin.
So I also renamed the entry in ASN-File.

But nothing happend on the surface of the IDF.
Still the old component is included.
After deleting the old component, I got an error that the signature is missing.
So UnifAce still looks after the old component and not that one defined in ASN

After a little bit of research I found, that IDE_STATE is the problem as it holds still the old names.

Question: Should not the entry in ASN-file override any othe information?
Or how to refresh the IDE_STATE so it uses the changed information?

My workaround was to delete IDE_STATE, but this also droppes all other "settings"

Ingo

Hi Jonke

You are sure?
I did change the return value in "getWorkSheetOptions", but nothing happend.
Also some restart of the IDF I did look into the IDE_STATE and still find the old tab labels.
Onyl I did delete the IDE_STATE, the new label was shown.

Strange 🙂
Ingo


Hi Jonke

You are sure?
I did change the return value in "getWorkSheetOptions", but nothing happend.
Also some restart of the IDF I did look into the IDE_STATE and still find the old tab labels.
Onyl I did delete the IDE_STATE, the new label was shown.

Strange 🙂
Ingo

Hi Ingo,

Yes, he's sure. 😉

Did you actually restart the involved editor? In case you've (e.g.) created a worksheet for the Project editor then you need to close and reopen any open Project editor. Restarting the IDE - not IDF! 😉 - will not help here.

Hope this helps.

Daniel


Hi Ingo,

Yes the logical should be leading, that makes it easier to work with user defined worksheets.

For the time being: it is enough to restart the editor involved, no need to delete the complete state file.

This has been fixed now with the patch 10.3.01.008. For details see the following topic in the Unfiace Library:

Uniface 10: Documentation Updates in Patches and Service Packs

"Issue 31887: It is no longer necessary to delete the state file and restart the IDE when changing or adding worksheets to an editor.

When you edit an IDE plug-in logical to add or change the name of a worksheet plugin, the IDE detects this and restarts the affected editor.

Note: The IDE does not detect changes made to the title and tooltip in the getWorksheetOptions operation. If you change these, you need to restart your editor for the changes to take effect"

Hope this helps.

Daniel