It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ActiveObjects saves nulls

Hi,

I'm writing a plugin, it using ActiveObjects, my plugin works fine(saving and retrieving values) with HSQL db(If I invoke it from atlassian sdk using atlas-run). But when I move the plugin to same version JIRA of other instance(using mysql), the save operation stores null values in all the columns of AO* table:

+----+-------------------------------+---
| ID | TEST1 | TEST2 | TEST3 |
+----+-------------------------------+---
|  1 |  NULL |  NULL |  NULL |
|  2 |  NULL |  NULL |  NULL |

Could you please let me know where I'm missing?

Thanks a million!

2 answers

When I've had that happen it indicates you may not have saved your entities, or there is something up with your plugin, check logs? I test against postgres and mysql, each does work (you dont specific a product, so Im assuming JIRA)

That does not mean there is not a bug on MySQL and ActiveObjects working on an specific versions of JIRA.

Just the same bug than @chintu926 on JIRA + MySQL (and probably @Nabil too) has been reported for one of my plug-ins using Active Objects... and, for example, I've found this bug reported by an user trying to use the Tempo add-on:

https://tempoplugin.jira.com/browse/JTMPO-795

According to that user, a problem with ActiveObjects was not related to the plug-in. It was related to ActiveObjects working with MySQL on JIRA. After he upgraded JIRA, the problem was resolved and the plug-in worked fine.

Did you ever get that sorted out?

I also have the problem that save() leaves the columns at null.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in United States

Welcome new members!

Wow, I got swamped and now that I've finally gotten my head back above water, I find we have several new members! Welcome @Darren Keith lowman , @Amanda Babb , @Luis Zapata , @Joli Holmes , and @bh...

17 views 0 1
View post

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you