Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.1.1
-
None
-
Operating System: Ubuntu
PHP Version: 5.2.4
Database and version: mysql 5.0.51
Browser (and version): Firefox 3.0
Description
I created a new object of a new class. This object had no name. The entry in table ezcontentobject_name is empty. There was no name in the admin interface and not in the frontend if I used $object.name.
The problem is the cache for classattributeidentifiers. I created a new class. After this I created an object for this new class. And this object had no name. I could not reproduce this bug every time, but very often. I tested it in two projects and could reproduce it several times.
Steps to reproduce
1. Create a new class.
2. If the cache classattributeidentifiers_<hash> is cleared in your var-directory, you must create a second class. If the cache was not cleared you found the problem.
3. Now you can create a new object for the second class. This object has no name.
Attachments
Issue Links
- duplicates
-
EZP-14897 Object/class name pattern and cache issues [patch]
- Closed