Giter Site home page Giter Site logo

ereviewboard's People

Contributors

chenzhang22 avatar fulgas avatar lucianocheng avatar markphip avatar mknittig avatar niteshhibarehcl avatar rombert avatar sag avatar selsemore avatar topikachu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ereviewboard's Issues

Fix version number

This should be 1.0.0 all over, including in the feature descriptions.

Spurious JSON parsing errors

Apparently the result is received partially . One suspect is incorrect synchronisation - perhaps multiple threads read from the same result. Another possibility is that the result is not completely read and the next reader gets bad data.

org.review_board.ereviewboard.core.exception.ReviewboardException: The server has responded with an invalid JSon object : A JSONObject text must begin with '{' at character 1
": "Bla Bla", "id": 861}, {"status": "submitted", "last_updated": "2011-07-28 13:42:07", "description": "Bla bla bla bla bla", "links": {"diffs"...
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.readReviewRequests(RestfulReviewboardReader.java:189)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient$7.doLoadInternal(RestfulReviewboardClient.java:268)
at org.review_board.ereviewboard.core.client.PagedLoader.doLoad(PagedLoader.java:64)
at org.review_board.ereviewboard.core.client.RestfulReviewboardClient.getReviewRequests(RestfulReviewboardClient.java:273)
at org.review_board.ereviewboard.core.ReviewboardRepositoryConnector.performQuery(ReviewboardRepositoryConnector.java:491)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:311)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:268)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.updateQueries(SynchronizeRepositoriesJob.java:186)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.run(SynchronizeRepositoriesJob.java:142)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.review_board.ereviewboard.core.exception.ReviewboardException: The server has responded with an invalid JSon object : A JSONObject text must begin with '{' at character 1
": "Bla Bla", "id": 861}, {"status": "submitted", "last_updated": "2011-07-28 13:42:07", "description": "Bla bla bla bla bla", "links": {"diffs"...
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.checkedGetJSonRootObject(RestfulReviewboardReader.java:112)
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.readReviewRequests(RestfulReviewboardReader.java:178)
... 10 more
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at character 1
at org.json.JSONTokener.syntaxError(JSONTokener.java:496)
at org.json.JSONObject.(JSONObject.java:180)
at org.json.JSONObject.(JSONObject.java:403)
at org.review_board.ereviewboard.core.client.RestfulReviewboardReader.checkedGetJSonRootObject(RestfulReviewboardReader.java:99)
... 11 more

Close review request and commit in one operation

Improvement: it should be possible to close a review request and commit in one operation.

One should also have the possibility to link review request and commit:

  1. by automatically enter information about the review in the commit comment (which information to include and format to be defined by a template provided by user):
  • review id
  • reviewer
  • url to review
    1. by adding commit identifier as a comment in review

Map diffs as attachments

All diffs should be visible in the list, with all but the most recent one being marked as obsolete.

NPE when trying to create a new query

!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2011-03-08 13:22:34.488
!MESSAGE 
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1326)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage$UpdateButtonsListener.handleEvent(ReviewboardQueryPage.java:557)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Combo.select(Combo.java:1840)
at org.review_board.ereviewboard.ui.ReviewboardUiUtil.selectDefaultComboItem(ReviewboardUiUtil.java:62)
at org.review_board.ereviewboard.ui.wizard.ReviewboardQueryPage.createControl(ReviewboardQueryPage.java:402)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:97)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:59)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

"Did not find session cookie in response" when Validating Settins

During Repository setup, When I "Validate Settings" to my company's Review Board server, I get this error:
"Did not find session cookie in response"

Browser based access from the same client machine to the same server works fine.

What does that mean? How can I diagnose?

I mean, it's clear that this is where the error happens:

        // look for session cookie
        for (Cookie cookie : httpClient.getState().getCookies())
            if (cookie.getName().equals("rbsessionid"))
                foundSessionCookie = cookie.getValue();

        if ( foundSessionCookie == null )
            throw new ReviewboardException("Did not find session cookie in response");

but...why?

Possibly related: On some machines, (Firefox on Windows 7 in my office), I can't browse into ReviewBoard, because the server reports an error that my browser is not accepting cookies.
Chrome on the same machine can log in fine, though.

On the machine (Mac OS X 10.6,) where I am running Eclipse (Helios), though, logging in and out with Firefox works with no problems.

I have no Proxy set up, but I am connecting to the server via a VPN

Reviewboard Repository Settings: The server has responded with an invalid JSon object.

I added ereviewboard plugin to my Eclipse workspace. Installation went fine.
However, While adding Task Repository, I added server details. When we click "Validate Settings" command button, It tries to connect to the server and gives the following error:
"The server has responded with an invalid JSon object : A JSONObject text must begin with '{' at character 1"
"Next" button is never enabled.

I can login to my reviewboard account using my credentials from a web browser.

Please let me know, is this a bug or I am making some mistake in configuration.
Is there any workaround for this problem?

Thanks
Aakash

Upload new diffs to existing reviews with Subclipse

  1. Improve the wizard to accept posting to an existing review request. The final page will only accept a change description, rather than all the fields. The user can change other fields by using the task editor, if needed.
  2. Create an extension point from the ui plugin for contributing actions.
  3. Have the subclipse.ui plugin implement the extension point to contribute a 'Upload new diff' action.
  4. The 'Upload new diff' action will need to map the review to an existing project and start the post review request wizard with the detected project and the selected review request.

Ensure that all calls are using paging

The new REST API has limits in place for retrieving almost every entity. We should make sure to use the paging calls, otherwise we will start missing data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.