Global Actions Component delete | Uniface Development | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Global Actions Component delete
29 Jul 2014
8:40 am
Avatar
Iain Sharp
Member
Forum Posts: 612
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

I am doing a tidy up of redundant entities and components. 

I tried going in to Go To->Administration->Global Actions, entering the pattern for the components now redundant, and then Edit->Delete

This seems to have deleted all the components, and without any warning messages at that. However, the signatures don’t seem to have been set to modeled. 

I have run a /cln and a full recompile (which gave me the message that there was no implementation for these signatures). 

The signature cleaner download can’t find the signatures, and I have just spent half an hour finding them all manually and deleting them. 

Is the Delete function in the Global Actions safe to use on components? Have I left corrupt data in my IDF somewhere? 

Iain

31 Jul 2014
8:31 am
Avatar
Theo Neeskens
Member
Forum Posts: 339
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hmm, for me Global Updates works in Uniface 9.6.05 and Solid.

It sets the signatures to Modelled.

Can you please run with /pri set and look for database errors in your message frame?

What Uniface version and patch do you use? On what database?

Do you retrieve one component or multiple?

What button do you precisely press? Yes or Yes to All?

31 Jul 2014
2:53 pm
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1694
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Theo,

Iain mentions global ACTIONS, not global UPDATES.

I think this will make a difference.

31 Jul 2014
7:57 pm
Avatar
Theo Neeskens
Member
Forum Posts: 339
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

I made a typing error I meant Actions nolt Updates

01 Aug 2014
8:48 am
Avatar
Iain Sharp
Member
Forum Posts: 612
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

I should point out that the signature editor showed ‘Modeled’ when I called them up. But they didn’t show in the signature cleaner from the download until I added an implementation and took it back out again. 

The signature cleaner loads purely on the basis that the UDEFPATH field is ‘MDL’ so I can only conclude that it wasn’t. (I’ve cleared up all the data now.)

SQL Server 2008, Uniface 9.5. (E119)

08 Aug 2014
2:46 pm
Avatar
Theo Neeskens
Member
Forum Posts: 339
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Found it. This is a bug in the Global Actions. When you have specified a profile to delete multiple forms it will delete all those forms. But only for the first one it sets the UDEFPATH in the signature to MDL, the other ones stay FRM/SVC/RPT etc.

I have created bug AST30765 for this. If you need it fixed with any priority, please report the problem to the Support team referring to the AST.

Theo.

11 Aug 2014
9:10 am
Avatar
Iain Sharp
Member
Forum Posts: 612
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Thanks for that. There’s no “need for speed” here. I’ve kind of done the deletes for the moment. 

I am still unsure what the utility of having the signature, which was generated automatically on the first compile of the form, not deleted when the form was deleted, but there you go. Programmers move in mysterious ways. 

12 Aug 2014
1:34 pm
Avatar
Knut
Member
Forum Posts: 175
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Iain,

I was thinking the same – and then I realised there could be non-Uniface implementations of the same component…

Maybe we should limit the ‘delete signature’ to only ‘delete Uniface implementation’ and if there are no
more implementations, delete the signature too?

Knut

12 Aug 2014
2:55 pm
Avatar
Iain Sharp
Member
Forum Posts: 612
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Sounds right. 

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1694

Iain Sharp: 612

Theo Neeskens: 339

gianni: 257

rogerw: 232

istiller: 199

lalitpct: 197

Knut: 175

-GHAN-: 171

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 6285

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2032

Posts: 8749

Newest Members:

adbotter, KennethHub, MathewBew, Sarma, RichardSmare, Frostseekerquife, Lookeephi, Llberyquife, BrunoTop, Sirbop

Administrators: admin: 23, Adrian Gosbell: 278, diseli: 820, Bob Maier: 3, Nico Peereboom: 62, Michael Rabone: 4, richiet: 406, JanCees: 28