Menu

svnmanager BUG

Help
nerdbird
2008-02-07
2013-05-01
  • nerdbird

    nerdbird - 2008-02-07

    Hi,

    i think i have found a bug. When you change the User Privileges on a group and select "*", also that all users have e.g. Read access. I get follow Error:

    nternalError

    ADODB_Exception: mysql error: [1366: Incorrect integer value: '' for column 'userid' at row 1] in EXECUTE("INSERT INTO userprivileges (id, userid, repositoryid, path, access) VALUES (null, '', '3', '/', '1')")

    #0 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Data\adodb\adodb.inc.php(874): adodb_throw('mysql', 'EXECUTE', 1366, 'Incorrect integ...', 'INSERT INTO use...', false, Object(ADODB_mysql))
    #1 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Data\adodb\adodb.inc.php(848): ADOConnection->_Execute('INSERT INTO use...', false)
    #2 [internal function]: ADOConnection->Execute('INSERT INTO use...')
    #3 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Data\TAdodb.php(114): call_user_func_array(Array, Array)
    #4 [internal function]: TAdodb->__call('Execute', Array)
    #5 C:\WWW\Apache2.2\htdocs\svnmanager\RepositoryModule\DataModule.php(264): TAdodb->Execute('INSERT INTO use...')
    #6 C:\WWW\Apache2.2\htdocs\svnmanager\RepositoryModule\UserPrivilegesEditPage.php(355): DataModule->addUserPrivileges(NULL, '3', '/', 1)
    #7 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\TComponent.php(550): UserPrivilegesEditPage->onClickAddBtn(Object(TButton), Object(TEventParameter))
    #8 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Web\UI\WebControls\TButton.php(192): TComponent->raiseEvent('OnClick', Object(TButton), Object(TEventParameter))
    #9 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Web\UI\WebControls\TButton.php(176): TButton->onClick(Object(TEventParameter))
    #10 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Web\UI\TPage.php(1005): TButton->raisePostBackEvent('')
    #11 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\Web\UI\TPage.php(950): TPage->handlePostBackEvent()
    #12 C:\WWW\Apache2.2\htdocs\prado-2.0.3\framework\TApplication.php(483): TPage->execute()
    #13 C:\WWW\Apache2.2\htdocs\index.php(5): TApplication->run()
    #14 {main}

    Can anybody help me?

    Greetz

    Hermann

     
    • Marijn Verkerk

      Marijn Verkerk - 2008-11-11

      Hi!

      Could you please list a few steps that reproduce this error?

      Could it be that you haven' t created an administrator user first? This is expected, do not stick with the admin user you created in the config file.

      Thanks!

      Marijn

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.