akipta / freedomotic

Automatically exported from code.google.com/p/freedomotic
Other
0 stars 0 forks source link

marketplace returns an error when a plugins category is empty #218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start freedomotic
2. Go to Plugins-> Install from marketplace menu

What is the expected output? What do you see instead?
When a category is empty (no plugins files compatible with the used freedomotic 
version) the marketplace module thows the following exception
Exception in thread "Thread-78" Not Found (404) - Not found: No nodes were 
found with tid(s): 159 
    at org.restlet.resource.ClientResource.doError(ClientResource.java:629) 
    at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1218) 
    at org.restlet.resource.ClientResource.handle(ClientResource.java:1085) 
    at org.restlet.resource.ClientResource.handle(ClientResource.java:1060) 
    at org.restlet.resource.ClientResource.post(ClientResource.java:1469) 
    at it.freedomotic.marketplace.postplugin.JavaUploader.postTaxonomySelectNodes(JavaUploader.java:187) 
    at it.freedomotic.marketplace.util.DrupalRestHelper.retrievePluginsByCategory(DrupalRestHelper.java:107) 
    at it.freedomotic.marketplace.util.MarketPlacePluginCategory.getPlugins(MarketPlacePluginCategory.java:57) 
    at it.freedomotic.frontend.MarketPlaceForm.retrieveCategories(MarketPlaceForm.java:74) 
    at it.freedomotic.frontend.MarketPlaceForm$1$1.run(MarketPlaceForm.java:63) 
    at java.lang.Thread.run(Thread.java:679) 

Problem found with "WEATHER" category.
You must close the marketplace windows and restart it. Otherwise the download 
is blocked. 

Please fill this info:

Freedomotic Version: dailybuild-5.4.0.471-b80a208
Java Version: 1.6
OS Name: Windows|Linux|Mac|Solaris
OS Version: XP|7|Ubuntu12.04

Please provide any additional information below.

NOTE: Remember you can attach the LOG FILE to this issue to help the defect
source identification.

Original issue reported on code.google.com by virtualc...@gmail.com on 19 Jan 2013 at 5:51

GoogleCodeExporter commented 9 years ago
The correct category is "TELEPHONY" with id 159

Original comment by virtualc...@gmail.com on 19 Jan 2013 at 6:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6a1bf872e389.

Original comment by enrico.n...@gmail.com on 21 Jan 2013 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by virtualc...@gmail.com on 22 Jan 2013 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by virtualc...@gmail.com on 26 Feb 2013 at 10:30