Why do add-ons' tablenames change?

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 30, 2015

Hi,

I just upgraded amps from 4.2.20 to 5.0.13. I am not sure whether this is the root cause, but I ran into some problems after this change. 

One problem is the AO tablename prefixes changed from AO_C5D949_ to AO_23ADAF_

This is really causing big problems and I need to solve it urgently.

Anyone who has an idea or faced with this kind of problem?

Thanks in advance

Tuncay

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2015

Hi Tuncay,

AO table names prefix is a hash generated based on the plugin key or the namespace attribute on the ao module. More info here: https://developer.atlassian.com/docs/atlassian-platform-common-components/active-objects/developing-your-plugin-with-active-objects/active-objects-faq/table-names

Probably you changed the plugin key or the namespace attribute.

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 30, 2015

Hi Volodymyr, Thanks for the response. I know about the hash, but I never changed the plugin name or key. All same.

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2015

Did you change version of the activeobjects-plugin in your pom? Other explanation can be that there was some change in amps that affects generation of the AO prefixes but it's weird and if it's true, then I call it a bug.

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 1, 2015

No change in activeobjects version as well. I double checked two versions of the plugin. atlassian-plugin.xml files are same (identical), so no change in plugin name. But table name prefixes are different. On the other hand, I checked with another plugin. Two versions, one with amps 4.2.20 and one with 5.0.13. But this time it generated same prefix. Anyway, thanks for your assist

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2015

Tuncay, please update us if you find the cause.

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 1, 2015

Sure

TAGS
AUG Leaders

Atlassian Community Events