HUE-6975 [core] 500 in configuration on /hue/desktop/dump_config

Review Request #11217 - Created July 28, 2017 and submitted

Ying Chen
hue
master
HUE-6975
hue
enricoberti, johan, krish, ranade, romain, weixia
commit 3c7776161aaa385ad95b87fbad880d7c9d1a3289
Author: Ying Chen <yingchen@cloudera.com>
Date:   Fri Jul 28 15:55:37 2017 -0700

    HUE-6975 [core] 500 in configuration on /hue/desktop/dump_config

:100644 100644 9fae779a4a... bd472e68c1... M    desktop/core/src/desktop/lib/conf.py


  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
  1. 
      
    1. as request, modify as follow

      data = _("Possible misconfiguration")

  2. desktop/core/src/desktop/lib/conf.py (Diff revision 1)
     
     

    Below, this line add:

    from django.utils.translation import ugettext as _

    https://github.com/cloudera/hue/blob/master/desktop/libs/notebook/src/notebook/api.py#L25

  3. desktop/core/src/desktop/lib/conf.py (Diff revision 1)
     
     

    Then here

    data = _("Possibly misconfig")

  4. 
      
  1. 
      
  2. desktop/core/src/desktop/lib/conf.py (Diff revision 2)
     
     

    1

    LOG.error --> LOG.exception

    ?

    2

    Error value of key in configuration: '%s': "
    -->
    Error value of key '%s' in configuration."

    ?

  3. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...