Jump to content

[问题]大家来看看, 同样的categories CSV 文件导入两遍以后,之前GROUP ACCESS 的勾选的,自动被去掉了,所有目录不


Guest JoshQiu
 Share

Recommended Posts

PS1.3 RC4(1.3.0.7)
LINUX/PHP5.2

情况:
在BO,第一遍利用CSV文件导入目录后,FO可以成功显示所有目录,但有错误提示 如下图。
但第二遍导入修改后CSV文件时候,勾选删除所有原目录,后导入,发现FO没有任何目录显示,进入BO检查,
发现目录属性中的GROUP ACCESS的勾选项,无论是目录还是子目录,均被置空,所以FO 无法显示。

大家来看看,有没有遇到类似情况的?
这到底是什么问题?
还是RC4的BUG?

BTW: 如何在BO删除所有的目录??

先谢谢大家啦!

23402_U5e3gow5dsxTLRhbwXnq_t

23403_X0L0QcSNwiNDCZpMCgs4_t

23405_xEAdwPYyPH0YaC3hcbVv_t

23406_HQQfqdy1pNTpS6jBcEb7_t

Share this post


Link to post
Share on other sites

Hi,

你的13RC4是由其他版本update的还是fresh install的?


BTW: 如何在BO删除所有的目录??


在BO删除所有目录,有三种方法:
1. Back Office >> Catalog >> 选择各目录的后的红色X图标,然后狂点鼠标。

2. 在DB里,truncate这些tables:ps_category, ps_category_group, ps_category_lang, ps_category_product

3. Back Office >> Tools >> Import >> 选择categories,勾选Delete all categories before import,然后导入只有一个目录的CVS

Share this post


Link to post
Share on other sites

This bug has been fixed on SVN version at revision 2287. By Alain Folletete

我可以删除所有的目录,但是导入CSV的时候,结果一样,也是GROUP ACCESS都是空置了。
IMPORT的时候勾选删除现有所有目录,对DB操作是否和自己在DB中删除相关表格一样?
我每次导入的时候都有选择删除现有目录,但是结果都是GA空置了。

Share this post


Link to post
Share on other sites

下面是官方的修复:

Index: Category.php
===================================================================
--- Category.php    (revision 2286)
+++ Category.php    (revision 2287)
[spam-filter] -689,6 +689,8 [spam-filter]
        $this->cleanGroups();
        if ($list AND sizeof($list))
            $this->addGroups($list);
+        else
+            $this->addGroups(array(1));
    }

    static public function setNewGroupForHome($id_group)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More