Skip to Content Skip to Menu

[#9119] CBSubs - edit entries in Geographic Zones

  • cez
  • cez
  • OFFLINE
  • Posts: 43
  • Thanks: 11
  • Karma: 1
1 year 3 months ago - 1 year 3 months ago #332618 by cez
hi,
after a fresh install of J!4 and CBSubs, you can edit and save existing country entries in Geographic Zones, but when you try to add or copy an entry in "edit entries in Geographic Zones" (e.g. because Croatia is missing in EU Zone) you get an error and the message:
An error has occurred.: 1364 Field 'zip_code_regexp' doesn't have a default value, and redirect to Joomla! dashboard

everything works correctly after setting the table structure manually, e.g. in phpMyadmin
`poaa_cbsubs_geo_zones_entries` -> `zip_code_regexp` ->DEFAULT NULL;

this problem does not occur in J!3.10, even though the default value of zip_code_regexp is not set there either, you can not only edit, but also add or copy entries without any problems.

tested on:
CB 2.8.0+build.2023.01.27.16.59.55.3636e2d5a
CBSubs 4.6.1+build.2023.01.18.18.35.11.074602ba8
J!4.2.6
php 8.0.25, mysql DB 10.4.27-MariaDB
Last edit: 1 year 3 months ago by krileon. Reason: Added [#9119] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
1 year 3 months ago #332627 by krileon
Replied by krileon on topic CBSubs - edit entries in Geographic Zones
Looks like we missed a column. Still has the old empty string default instead of NULL. Have added a bug ticket to fix.

forge.joomlapolis.com/issues/9119


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn