EDS disabling the QML application's log

Bug #1294426 reported by Kunal Parmar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtorganizer5-eds (Ubuntu)
Fix Released
Undecided
Renato Araujo Oliveira Filho

Bug Description

EDS plugin is disabling the QML app's log printed by console.log() or print(), by installing null message handler (QOrganizerEDSEngineMessageOutput)

Which is making QML app's debugging little difficult and its also hide crucial warning message.

QOrganizerEDSEngine* QOrganizerEDSEngine::createEDSEngine(const QMap<QString, QString>& parameters)
{
    // disable debug message if variable not exported
    if (qgetenv("QORGANIZER_EDS_DEBUG").isEmpty()) {
        qInstallMessageHandler(QOrganizerEDSEngineMessageOutput);
  }

It started showing log message if we export QORGANIZER_EDS_DEBUG env variable., but also prints EDS debug log.

I believe EDS should filter log and print log which does not belongs to EDS.

Related branches

Changed in qtorganizer5-eds (Ubuntu):
status: New → Confirmed
Changed in qtorganizer5-eds (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Changed in qtorganizer5-eds (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtorganizer5-eds - 0.1.1+14.04.20140415.1-0ubuntu1

---------------
qtorganizer5-eds (0.1.1+14.04.20140415.1-0ubuntu1) trusty; urgency=low

  [ Renato Araujo Oliveira Filho ]
  * Optimize eventid parse, and avoid memory leak. (LP: #1306112)
  * Used alarm component description as message field for visual
    reminders. (LP: #1284375)
  * Implemented support to update recurrence items with different modes.
    All (E_CAL_OBJ_MOD_ALL);. A single instance (E_CAL_OBJ_MOD_THIS),. A
    specific set of instances (E_CAL_OBJ_MOD_THIS_AND_PRIOR and
    E_CAL_OBJ_MOD_THIS_AND_FUTURE) (LP: #1283859)
  * Fixed recurrence date limit parse. (LP: #1292554)
  * Removed all debug messages. (LP: #1294426)
 -- Ubuntu daily release <email address hidden> Tue, 15 Apr 2014 19:43:13 +0000

Changed in qtorganizer5-eds (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.