[digikam] [Bug 358911] New: MySQL database cannot be configured if INTERNAL_MYSQL=Off

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 358911] New: MySQL database cannot be configured if INTERNAL_MYSQL=Off

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358911

            Bug ID: 358911
           Summary: MySQL database cannot be configured if
                    INTERNAL_MYSQL=Off
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database
          Assignee: [hidden email]
          Reporter: [hidden email]

The database ui combo box index doesn't match the enum value if internal_mysql
is off, thus it will always show the configuration for internal db, but no
external mysql.

I made a patch for it at:
https://git.reviewboard.kde.org/r/126872/

Reproducible: Always

Steps to Reproduce:
1. build digikam with mysql=on and internalmysql=off
2. open database settings
3. select mysql

Actual Results:  
the db option still shows a db path instead of host name etc.

Expected Results:  
shows the correct ui with host, username etc,

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 358911] MySQL database cannot be configured if INTERNAL_MYSQL=Off

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358911

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |5.0.0
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
In your pathcn, please do not use std::array<int, 3> dbTypeMap; but a Qt map
container instead.

Also do not use reviewboard, it's redondant with bugzilla. Post your updated
patch to bugzilla as well..

Thanks in advance

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 358911] MySQL database cannot be configured if INTERNAL_MYSQL=Off

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358911

--- Comment #2 from Weng Xuetian <[hidden email]> ---
Created attachment 96977
  --> https://bugs.kde.org/attachment.cgi?id=96977&action=edit
patch

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 358911] MySQL database cannot be configured if INTERNAL_MYSQL=Off

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358911

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.0.0
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/d3c060d66b9e0a3746ef4e0
                   |                            |5aaadb456bbdf14c3

--- Comment #3 from [hidden email] ---
Git commit d3c060d66b9e0a3746ef4e05aaadb456bbdf14c3 by Gilles Caulier.
Committed on 02/02/2016 at 13:51.
Pushed by cgilles into branch 'master'.

Apply patch #96977 to be able to configure Mysql DB if internal server is
disabled
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +18   -12   libs/database/utils/dbsettingswidget.cpp

http://commits.kde.org/digikam/d3c060d66b9e0a3746ef4e05aaadb456bbdf14c3

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 358911] MySQL database cannot be configured if INTERNAL_MYSQL=Off

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358911

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Mysql

--
You are receiving this mail because:
You are the assignee for the bug.