Giter VIP home page Giter VIP logo

google-feedserver's People

Contributors

jyang avatar yardennb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fazlerabbi71270

google-feedserver's Issues

StringToNumericCallback class is missing on the trunk

What steps will reproduce the problem?
1. On a trunk installation, invoke ./run.sh
2. curl localhost:8080/example.com/contact
3.

What is the expected output? What do you see instead?
I get a 500 response and in the stack trace, I see 
java.lang.ClassNotFoundException: 
com.google.feedserver.ibatisCallbackHandlers.StringToNumericCallback

What version of the product are you using? On what operating system?
I'm on the trunk, revision 448.


Please provide any additional information below.
The class com.google.feedserver.ibatisCallbackHandlers.StringToNumericCallback 
seems to be missing from the trunk.  It however does exist here:
  Revision 448: /changes/vasunori/for_readability_review/trunk/src/java/com/google/feedserver/ibatisCallbackHandlers

Maybe you guys forgot to merge it to the trunk?


Original issue reported on code.google.com by [email protected] on 10 Aug 2010 at 5:40

Domain cannot use API

I recently upgraded to Google Apps for Your Domain Premier Edition, however 
the command

./insertGadgetSpec.sh PrivateGadgetSpec PrivateGadetEditor ../../private-
gadget-editor.xml

returns

<TITLE>Domain cannot use API</TITLE> ...


Original issue reported on code.google.com by dhart%[email protected] on 10 Sep 2009 at 3:57

UserInfo null in Request, userInfo.getEmail() fails

What steps will reproduce the problem?
1. Get latest
2. Follow the instructions here
http://code.google.com/p/google-feedserver/wiki/SettingUpADevelopmentEnvironment
3. run the server with derby and hit http://localhost:8080/example.com/.contact

http://code.google.com/p/google-feedserver/wiki/SettingUpADevelopmentEnvironment

What is the expected output? What do you see instead?
Feed with contacts

Exception
http://code.google.com/p/google-feedserver/wiki/SettingUpADevelopmentEnvironment

What version of the product are you using? On what operating system?
Ubuntu, r354

Please provide any additional information below.

File:com.google.feedserver.samples.adapters.IBatisCollectionAdapter
Method: getRequestParams(context)

This happens because the userInfo param in request context is null and
there is an access on UserInfo without null check.

UserInfo userInfo = getUserInfoForRequest(request);
params.put("opensocial_viewer_email", userInfo.getEmail()):

A simple null check resolves the issue and i can the see the feeds.
params.put("opensocial_viewer_email", 
        (userInfo != null ) ? userInfo.getEmail() : "[email protected]");

I am not completely aware of the use-case and if defaulting the email is
OK? Submitting a patch anyway (Attached)

Original issue reported on code.google.com by [email protected] on 2 Jul 2009 at 6:54

Attachments:

FSCT does not work for secondary domains

What steps will reproduce the problem?
1. Run FSCT using a super admin account in a secondary domain:
- FSCT returns error an whenever a command is executed.  The error message is 
"Error: com.google.gdata.util.ServiceException: Internal Server Error Exception 
Message unavailable" 

What is the recommended approach for controlling the gadgets that should appear 
in sites in secondary domains?  The list of gadgets authorized for a primary 
domain is not propagating to sites in secondary domains.





Original issue reported on code.google.com by [email protected] on 13 Aug 2012 at 12:14

Gadgets in the feedserver aren't published in de private gadget gallery

What steps will reproduce the problem?
1. Adding a gadget to the feedserver by using fsct and uploadGadget
2. publish the gadget using fsct and publishGadget
or
2. using the Domain Gadget Directory Manager

What is the expected output? What do you see instead?
showing the domains private gadget gallery with the added and published gadget. 
But it doesn't show that not even after a couple of weeks. When one checks the 
directory preview in the Domain Gadget Directory Manager it shows that the 
gadget is published.


What version of the product are you using? On what operating system?
the newest version of the fsct and version 2.0.4 of the same program but both 
won't do the trick.



Original issue reported on code.google.com by [email protected] on 16 Nov 2010 at 9:51

Unable to Insert/Update data in the DB

What steps will reproduce the problem?
1. For the example.com/contact sample, If I try hitting 
localhost:8080/feedserver/example.com/contact/contact-insert-entry?<query 
parameters>, I get an error saying 

com.google.feedserver.adapters.FeedServerAdapterException:
--- The error occurred in conf/feedserver/sqlmap/contact.xml.
--- The error occurred while applying a parameter map.
--- Check the contact-get-entry-InlineParameterMap.
--- Check the parameter mapping for the 'value' property.
--- Cause: java.sql.SQLDataException: Invalid character string format for type 
INTEGER.

Am I missing some configuration here or is there a problem with the way I am 
calling it? If this works I intend to build an app on the GAE to get the data 
using the Feedserver. 

2. Upon Debugging found that It is always entering the retrieveEntry method in 
the IbatisAdapterWrapper and not createEntry
3.

What is the expected output? What do you see instead?
Should insert the data into the DB

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 27 Nov 2012 at 8:39

Cannot run examples on Tomcat

What steps will reproduce the problem?
1. Installed apache-tomcat-6.0.20
2. Followed instructions, created Derby database and deployed the WAR as
explained in the documentation
3. Access http://localhost:8080/feedserver/example.com/contact

What is the expected output? What do you see instead?
I would expect to get the list of contacts. I get :

<error>
<code>500</code>
<message>Server Error</message>
</error>


What version of the product are you using? On what operating system?

Trunk. Tried on RedHat Linux 4 and Windows XP. JDK 1.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Jul 2009 at 2:29

MSSQL dbConfig.properties

Sharing for how to connect the feedserver to MSSQL

File : dbConfig.properties
Reference: http://jtds.sourceforge.net/

## Global connection settings
Pool.MaximumActiveConnections=10
Pool.MaximumIdleConnections=5
Pool.MaximumCheckoutTime=120000
Pool.TimeToWait=3000


## MS SQL database settings
JDBC.Driver=net.sourceforge.jtds.jdbc.Driver
JDBC.ConnectionURL=jdbc:jtds:sqlserver://(ip address of your 
MSSQL):1433/(databasename)
JDBC.Username=sql_username
JDBC.Password=sql_passwd
JDBC.Jar=jtds-1.2.5.jar
#sqlFilePath=conf/database/sql/mssql/view-vendors.sql (DB already created)

Original issue reported on code.google.com by [email protected] on 4 Feb 2011 at 8:10

SampleAdapterFunctionalTest test fails

What steps will reproduce the problem?
1. Running the SampleAdapterFunctionalTest test
2.
3.

What is the expected output? What do you see instead?
response.getStatus() should equal "OK", but instead it equals "Internal
Server Error"

What version of the product are you using? On what operating system?
Revision 10 from trunk

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Jan 2008 at 10:58

Can not delete domain gadgets that have a space in the name

What steps will reproduce the problem?
1. created a gadget called "marketing Revenue" as the title shown on the 
directory. Saved the gadget as mark_rev
2. Published the gadget using the Domain Gadget Directory Manager.
3. Deleted to the gadget using the Private Gadget Editor. When that didn't work 
I useed the fsct tool that failed as well. 

What is the expected output? What do you see instead?
The gadget still shows in the directory and when you click on it you get the 
error "Gadget is not Valid". 
When trying to delete the Gadget using FSCT I entered "deletegadget marketing 
revenue" the out put is "Domain gadget 'marketing' deleted successfully.
When it should say "Domain gadget 'marketing Revenue' deleted successfully

What version of the product are you using? On what operating system?
3.0.6
Windows 7 64bit pro

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Sep 2011 at 12:35

Test case failures out of the box

What steps will reproduce the problem?
1. Download google-feedserver-read-only from svn
2. Run ant test
3. View that not all tests have passed

What is the expected output? What do you see instead?
I expected all tests to run successfully.  Instead I got failures for the
following tests:
com.google.feedserver.adapters.wrappers.WrapperManagerTest
com.google.feedserver.samples.configstore.SampleFileSystemFeedConfigStoreTest
com.google.feedserver.tools.FeedServerClientAclToolTest
com.google.feedserver.wrappers.ResourceConnectionInfoWrapperTest


What version of the product are you using? On what operating system?
Windows XP, google-feedserver-read-only downloaded on 9/23/09 


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Nov 2009 at 10:18

Get an error when executing "getEntry contact 1"

1. Execute "D:\MobiDev\Software\client-tools\scripts>getEntry contact 1"
2. Input the username and password.
   Username:test
   Password:test

Got an error:
-Client side:
Username: username
Password:
Exception in thread "main" com.google.gdata.util.AuthenticationException: 
Error
authenticating (check service name)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException
(Unkno
wn Source)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(Unknown S
ource)
        at 
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unk
nown Source)
        at com.google.gdata.client.GoogleService.setUserCredentials
(Unknown Sour
ce)
        at com.google.gdata.client.GoogleService.setUserCredentials
(Unknown Sour
ce)
        at 
com.google.feedserver.client.TypelessFeedServerClient.setUserCredenti
als(TypelessFeedServerClient.java:357)
        at 
com.google.feedserver.tools.FeedServerClientTool.getUserCredentials(F
eedServerClientTool.java:167)
        at com.google.feedserver.tools.FeedServerClientTool.run
(FeedServerClient
Tool.java:138)
        at com.google.feedserver.tools.FeedServerClientTool.main
(FeedServerClien
tTool.java:90)

-Server Side
2010-3-17 20:14:03 com.google.feedserver.util.FileSystemConfigStoreUtil 
getInputStream
严重: Problems encountered while reading file contents 
conf\feedserver\accounts\FeedConfig\ClientLogin.properties 
(系统找不到指定的
路径。)
2010-3-17 20:14:03 com.google.feedserver.manager.FeedServerProvider 
getCollectionAdapter
严重: File 'D:\MobiDev\Project\google-
feedserver\conf\feedserver\accounts\FeedCo
nfig\ClientLogin.properties' not found.  Please check namespace 'accounts' 
and feedId 'ClientLogin'

What version of the product are you using? On what operating system?
2010-03-17 trunk, Jetty


Original issue reported on code.google.com by [email protected] on 17 Mar 2010 at 12:15

refactor google feedserver code to work with Abdera 0.4.0

Most of the current code in google feedserver has been absorbed into abdera
0.4.0.
To bring Google feedserver up to date with Abdera 0.4.0, some work is required.

my initial thoughts. please review/comment/suggest.

1. remove code in the following packages (code is in abdera 0.4.0)
       com.google.feedserver.adapter
       com.google.feedserver.config
       com.google.feedserver.server

2. code in the following package is not utilized by abdera. so, it may be
safely removed.
       com.google.sample.util

3. the following package is not necessary, for now.
       com.google.feedserver.ibatisCallbackHandlers

4. com.google.feedserver.jetty package contains code to start jetty server.
I didn't find any code in abdera that does this (except in test code). we
may need this package (or, just the single class in this package)

5. com.google.feedserver.servlet package ? does abdera have these filters?

to net it out, I think the following woudl go into refactored feedserver
consists
     1. a class to start Jetty server
     2. servlet filters from com.google.feedserver.servlet package
     3. use BasicProvider from Abdera
     4. config files for adapters (abdera has ibatisCollectionAdapter in
its adapters/ dir - used to be called JdbcAdapter in Feedserver)
     5. existing tests in feedserver to make sure build is good (these have
to be migrated into abdera also)
     6. build scripts and run scripts

I may have missed a few things, hopefully minor ones.










Original issue reported on code.google.com by [email protected] on 14 Feb 2008 at 6:59

Add support for multiple databases

Database configuration (conf/database/dbConfig.properties for example) should 
go with /conf/feedserver/{namespace}/AdapterConfig so that multiple databases 
can be supported on the same server instance.  As of now, only one is 
supported and all AdapterConfigs share the same dbConfig.properties 
configuration.

Original issue reported on code.google.com by [email protected] on 13 Jun 2009 at 9:57

Get error on load Private Gadget Editor

I get error "Error: failed to load private gadget spec" in PGE. I cannot edit 
my gadgets.

The Domain Gadget Directory Manager not show any gadget. I cannot publish an 
unpublish private gadgets

Original issue reported on code.google.com by [email protected] on 23 May 2012 at 11:01

I am getting duplicate feeds when adding to homepage with "add to google button"

What steps will reproduce the problem?
1. go to 
http://www.google.com/ig/adde?source=atgs&moduleurl=theurbalist.com/feed/rss/
2. click add to button
3. view igoogle homepage

What is the expected output? What do you see instead?
to see one rss feed, I am getting 3 of the same feed.

What version of the product are you using? On what operating system?
on a mac, following the instructions to add a feed from 
"http://www.google.com/webmasters/add.html" 

Please provide any additional information below.

I have been looking for a way to delete duplicate of the gadget that might be 
causing the problem to no avail and have not found any help on the forum, but 
other with the same problem.

Original issue reported on code.google.com by [email protected] on 3 Jun 2011 at 12:12

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.