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

Home » RADICORE development » Bug Reports » MNU_USER Incorrect Columns Spec and Cannot Re-Import
MNU_USER Incorrect Columns Spec and Cannot Re-Import [message #5901] Wed, 28 September 2016 17:51 Go to previous message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
Noticed that starting from v1.95, mnu_user.dict.inc file shows:
$fieldspec['user_name']                 = array('type' => 'string',
                                                    'size' => 30);
    
$fieldspec['user_password']             = array('type' => 'string',
                                                    'size' => 16,
                                                    'password' => 'y',
                                                    'nosearch' => 'y',
                                                    'noaudit' => 'y');

Up till version v1.94 these used to be required fields. The database schema too showed that these should be required fields.
So, the first bug: Application crash whenever new user added without populating these fields, because the 'required' validation rule did not kick in.

Then, when tried to re-import MNU_USER table's columns in DICT module of v1.97 in the hope of correcting menu_user.dict.inc file, the column import function did not make 'user_name' and 'user_password' fields 'required'. So, that is the second problem: Columns import does not work for table MNU_USER.

Not sure these are related or not.

[Updated on: Wed, 28 September 2016 22:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Redundant bracket in mnu_user.class.inc
Next Topic: Auto assign user in workflow that starts with ADD1 task
Goto Forum:
  


Current Time: Mon Apr 29 05:51:28 EDT 2024

Total time taken to generate the page: 0.00998 seconds