Possible bug with Action Content

9 years 4 months ago - 9 years 4 months ago #255596 by dotcom22
Possible bug with Action Content was created by dotcom22
hello

I setup Auto-Action for create Joomla article after frontend profile update. All seem to work well except when I choose option "Featured". In that case, the article is well created but instead to be redirected to profile view, I get a blank page on my-profile/saveuseredit. Now if I disable "Featured" option, no problem. Furthermore it seem some others action don't work well too when "Featured" is enabled.

I don't have any conditions or special parameters and I use last last Auto-Action version.

any clue ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in to join the conversation.

9 years 4 months ago #255610 by dotcom22
Replied by dotcom22 on topic Possible bug with Action Content
UPDATE:

The problem seem to be elsewhere. I get the same blank page when using Action field. This happen especially if I try to Set 2 or more field. If I set only one no problem. I tried to enable parameter "Reload User" but no change.

Here a screenshot

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins
Attachments:

Please Log in to join the conversation.

9 years 4 months ago #255675 by krileon
Replied by krileon on topic Possible bug with Action Content

I setup Auto-Action for create Joomla article after frontend profile update. All seem to work well except when I choose option "Featured". In that case, the article is well created but instead to be redirected to profile view, I get a blank page on my-profile/saveuseredit. Now if I disable "Featured" option, no problem. Furthermore it seem some others action don't work well too when "Featured" is enabled.

Was able to confirm. Looks like the Featured usage causes a fatal error. Have created a bug ticket to investigate and fix for next release. I maybe able to get a Nightly build out today to fix this; working on it now.

forge.joomlapolis.com/issues/4971

To quickfix the issue you can make the below change.

IN: components/com_comprofiler/plugin/user/plug_cbautoactions/models/content.php
ON: Line 66
ADD:
JTable::addIncludePath( $_CB_framework->getCfg( 'absolute_path' ) . '/administrator/components/com_content/tables' );

The problem seem to be elsewhere. I get the same blank page when using Action field. This happen especially if I try to Set 2 or more field. If I set only one no problem. I tried to enable parameter "Reload User" but no change.

Also confirmed. Appears to be a bug with the caching using the wrong variable. Will be fixed in Nightly and next release. Have created the following bug ticket.

forge.joomlapolis.com/issues/4972

To quickfix the issue you can make the below change.

IN: components/com_comprofiler/plugin/user/plug_cbautoactions/models/field.php
ON: Line 52
FROM:
if ( ! isset( $field[$fieldId] ) ) {
TO:
if ( ! isset( $fields[$fieldId] ) ) {


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: dotcom22

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.183 seconds

Facebook Twitter LinkedIn