WRONG ID/Instance written into Context when Default Op. sel.

If you think that something doesn't work in Aware IM post your message here
Post Reply
pureist
Posts: 427
Joined: Sun Jan 24, 2016 10:00 pm

WRONG ID/Instance written into Context when Default Op. sel.

Post by pureist »

This relates to when a Custom Query Layout is selected.

According to an issue Bruce discovered, there could be a bug, depending on the answers to the below 2 questions:

1. Are Item Operations intended to be used with a Custom Query Layout, bearing in mind that Item Operation buttons usually won't display on an Instance which has a Customm Query Layout (subject to it's HTML/CSS)?

2. If, 'yes', then, is only a Default Item Operation intended to be used (hence why the 'Operations with items' panel still shows when Custom Query Layout is selected)?

If the answer to either of the above it, 'yes', then there is a bug according to Bruce's experience/advice:

"When a Default Item Operation is selected/activated on an Instance which has a Custom Query Layout, the wrong ID/Instance is written into Context"
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Because a Picture is worth 999 words

Post by BLOMASKY »

I took the SalesPortal sample app, wrote a custom query on the employee (put it on menu on left). When you select a record, you will see that the system selects the record that is DOUBLE the row number. (i.e. if you click on row 3, you get the 6th record).

Bruce
Attachments
SalesPortalWithCustomQuery.bsv.zip
(61.87 KiB) Downloaded 526 times
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: WRONG ID/Instance written into Context when Default Op.

Post by aware_support »

When we take out the <style> element from your custom template everything works as expected.

You cannot use <style> inside a custom template - use CSS classes instead of use the "style=" attribute.
Aware IM Support Team
Post Reply