When selecting more than one category for a post and both have custom fields (in my case the same group of fields is assigned to both of the categories), it looks like we have to set the custom filed twice in the same form.
But then, sometimes, the content of the text and text area fields is not written in the database (I checked and there is a record for each field, but with no data).
Sometimes there is full record, but twice for each custom field. (I have 6 fields in a group, therefore 12 records per post id in case of using two categories with the same fields group)
Then, of course, there is a php error for each such a field, both in the frontend pages and in the composing form.
This is an example of the php error from one of the fields:
( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\sh-taim2\administrator\components\com_easyblog\includes\fields\types\textarea.php on line 109
Call Stack
# Time Memory Function Location
1 0.0007 245688 {main}( ) ...\index.php:0
2 0.0626 3604480 JApplicationCms->execute( ) ...\index.php:45
3 0.0626 3604680 JApplicationSite->doExecute( ) ...\cms.php:252
4 0.4140 18367928 JApplicationSite->dispatch( ) ...\site.php:230
5 0.4153 18376696 JComponentHelper::renderComponent( ) ...\site.php:191
6 0.4221 18379104 JComponentHelper::executeComponent( ) ...\helper.php:372
7 0.4226 18406064 require_once( 'C:\wamp64\www\mySite\components\com_easyblog\easyblog.php' ) ...\helper.php:392
8 0.4798 20699952 JControllerLegacy->execute( ) ...\easyblog.php:43
9 0.4798 20700296 EasyBlogController->display( ) ...\legacy.php:728
10 0.5050 22020480 EasyBlogViewEntry->display( ) ...\controller.php:109
11 0.9648 32514032 EasyBlogView->display( ) ...\view.html.php:153
12 0.9932 34496120 EasyBlogThemes->output( ) ...\views.php:164
13 0.9946 34619624 include( 'C:\wamp64\www\mySite\components\com_easyblog\themes\wireframe\blogs\entry\default.php' ) ...\themes.php:431
14 1.0312 34875288 EasyBlogThemes->output( ) ...\default.php:178
15 1.0323 34903848 include( 'C:\wamp64\www\mySite\components\com_easyblog\themes\wireframe\blogs\entry\fields.php' ) ...\themes.php:431
16 1.0929 35186264 EasyBlogTableField->getDisplay( ) ...\fields.php:22
17 1.0931 35186408 EasyBlogFieldsTypeTextarea->display( ) ...\field.php:179
By the way, I use the Vintage theme, though the errors are all relating the the Wireframe theme. But I guess it is logical since this is the core basic theme and everything else is based on that... right?
When I re-enter the text in the text fields and save, suddenly the double records are gone, I get one record per custom field and post id and everything is normal again...
Sorry I can't provide a link to the local dev machine...