Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Task, Role - Field Access functionality not working
Task, Role - Field Access functionality not working [message #616] Fri, 09 February 2007 05:19 Go to next message
stephenboey is currently offline  stephenboey
Messages: 54
Registered: January 2007
Member
Tried to List, Add fields by clicking those buttons under Task(Proc) and Role. At first, it seemed like this functionality is not working.

Issue # 1
I checked on READONLY role in List Role, would be good to have a search functionality fo a specific Task. Reason being users will need to navigate the page arrow buttons. Imagine if there were 671 objects. At first I thought it was a bug... Its just the user friendliness.


Issue # 2
Would be good to have a search functionality in "Maintain Field Access via Task" for seaching ROles. Not unusual to have a lot of roles.

Issue # 3
Here is a bug:
1. I did a search for %Role%
2. Checked on mnu_role(list)
3. Click on List Fields
4. It says Nothing retrieved from database table MNU_TASK

Then I removed my search parameter from Search form and navigate to that Task using the page navigator. That works.

[Updated on: Fri, 09 February 2007 06:14]

Report message to a moderator

Re: Task, Role - Field Access functionality not working [message #617 is a reply to message #616] Fri, 09 February 2007 07:16 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Issue #1 and 2: Good idea. I will see if I can include it in the next release.

Issue #3: I have been able to reproduce this, so it is a bug. I will be sending you a fix shortly.


Re: Task, Role - Field Access functionality not working [message #618 is a reply to message #617] Fri, 09 February 2007 08:32 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Here is a fix for issue #3:

In file std.list2.inc change line 79 from
$selection = $dbouter->initialise($selection, $where);

to
$selection = $dbouter->initialise($selection, null);

Let me know if this causes unexpected problems elsewhere.


Re: Task, Role - Field Access functionality not working [message #619 is a reply to message #618] Fri, 09 February 2007 09:00 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Here is a fix for isues #1 and #2:

In file std.multi3.inc change line 249 from
// get data from the middle table
$middle_data = $dbmiddle->getData($where);

to
if (isset($search)) {
    $dbmiddle->setSqlSearch($search);
} // if

// get data from the middle table
$middle_data = $dbmiddle->getData($where);

Then you can create navigation buttons as follows:
  • to task 'mnu_role_taskfield(multi)a' you can add 'mnu_role(search)'
  • to task 'mnu_role_taskfield(multi)b' you can add 'mnu_task(search)'

Let me know if this works OK.


Re: Task, Role - Field Access functionality not working [message #620 is a reply to message #618] Fri, 09 February 2007 16:07 Go to previous message
stephenboey is currently offline  stephenboey
Messages: 54
Registered: January 2007
Member
Hello,

Issue #1 and #2 has a solution.

Tested #3.

Seems like Task Menu is working fine when I:
1. Select select a task and clicked on "Field Access" or "List Field" buttons
2. Did a search and perform no. 1

Thank you, and well done Tony.





Previous Topic: Error in class generated
Next Topic: dml_updateSelection
Goto Forum:
  


Current Time: Wed Apr 24 16:12:51 EDT 2024

Total time taken to generate the page: 0.01030 seconds