[trunk] website_sale deep link not working with fresh session

Bug #1313766 reported by Markus Schneider
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
Unassigned

Bug Description

we have a fresh installation with trunk from today and install demo data and install website_sale module.

If we got to:

/shop
or
/shop/product/iPad-Mini-7

without visiting the server before (testing with browser private modus)

We get HTTP 404 Back, instead the content.

Revision history for this message
Markus Schneider (markus-schneider) wrote :
Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Hi Markus,

Please, can you tell me what --db-filter value you are using for you OpenERP deployment ?

Revision history for this message
Markus Schneider (markus-schneider) wrote :

Hi Fabien,

we have no --db-filter set but our installation has only one database

Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Markus,

If you want to deploy a website using openerp you will need to use the --db-filter parameter.

Try --db-filter=your_dbname when running openerp.
(Note: this parameter's value can be a regexes so you can manage multiple databases or setup a more complex db filtering)

Revision history for this message
Markus Schneider (markus-schneider) wrote :

Okay, if i define the database in --db-filter than it works. But this is not easy to install apps, becouse you have to edit your init.d script in the most case, reallating to this bug: https://bugs.launchpad.net/openobject-server/+bug/940439 to have a single database website working. This is not was the marketing tells you ;)

So i recommend to use the database if there is only one.

Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Fixed in server's revision #5213

affects: openobject-addons → openobject-server
Changed in openobject-server:
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

The dbfilter configuration file bug has also been fixed in trunk:
https://bugs.launchpad.net/openobject-server/+bug/940439

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.