Clearing autocomplete cache

This forum is intended for cases when a problem can not be solved due to restrictions of the platform: a bug or lack of functionality.

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

When some items have been deleted from catalog, they are still shown in the autocomplete list. It is possible to select such items, but it will cause the invalid reference (Object not found:xxxxx).

Is there any way to clear the cache with such autocomplete data?

P.S. 1C:Enterprise 8.3 (8.3.3.721)

Edited: Mikhail Ivanenko - Oct 12, 2013 10:42 AM
 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Thank you! I have sent this information to our developers.

 
#3
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Mikhail.

In normal work items are deleted rarely as they are referenced from other objects. Even if they were deleted, during operation with data operators will replace old values with new by using them. In future versions this problem will be fixed, of course.

 
#4
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi Mikhail,

If you delete items manually I suggest you to use command "NotifyChanged(<ChangedType>)". So even if there is early opened dynamic list, it will refresh itself.

 
#5
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Hello Murat,

Thank you, it helped, but partially - the cached list still exists, but instead of names it shows "Object not found", so it's still possible to select non-existent item. It's better than it was, but not enough - i want to completly clear the list. I'm going to try new 8.3.4 platform, as i know this thing should be fixed in it.

Edited: Mikhail Ivanenko - Dec 13, 2013 02:56 PM
 
#6
People who like this:1Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

In the new version appeared a new setting for the input field - "ChoiceHistoryOnInput". When it turned off it's much better. But also the question - when I click on the arrow i see the little window with buttons "Show all" and "Create new". But the user doesn't have rights for creating new items. So this window seems useless. Could i hide this window?

 
#7
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

I have just checked this on 8.3.4.365. "+" button in field of reference type disappears if a user has no right to add a new item of this type.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.