Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1239

Call controller.serverCall with method returning void is considered as a bad response

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • None
    • None
    • None

      See ButtonController.js

      _serverCallCB: function(result, arguments)
      {
      			var initialCallback = arguments.callback;
      			var initialArguments = arguments.arguments;
      			var ignoreCallbackOnError = arguments.ignoreCallback;
      			
      			if (arguments.refreshing == true)
      			{
      				this.stopRefreshing();
      			}
      			
      			if (result != null || !ignoreCallbackOnError)
      			{
      				initialCallback.apply(this, [result, initialArguments]);
      			}
      }
      

          [RUNTIME-1239] Call controller.serverCall with method returning void is considered as a bad response

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.0 beta [ 12981 ]
          Fix Version/s Original: 4.0 [ 12882 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Raphaël Franchet made changes -
          Summary Original: Call controller.serverCall with method returning void is considered has bad response New: Call controller.serverCall with method returning void is considered as a bad response
          Cédric Damioli made changes -
          Fix Version/s Original: 4.0 beta [ 12380 ]
          Cédric Damioli made changes -
          Fix Version/s New: 4.0 [ 12882 ]
          Laurence Aumeunier made changes -
          Assignee New: Raphaël Franchet [ raphael ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.0 [ 12380 ]
          Fix Version/s Original: 4.0 [ 12384 ]
          Key Original: CMS-6329 New: RUNTIME-1239
          Project Original: CMS [ 10021 ] New: Runtime [ 10020 ]
          Laurence Aumeunier created issue -

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: