joomlaboat / custom-tables

The Custom Tables extension allows you to create, manage, and display custom data on your Joomla site. It is helpful if you need to display data that is not part of the standard Joomla content structure. For example, you could use this extension to create a custom table for product information, customer data, or any other type of data that you need to display on your site. The Custom Tables is the CRUD solution for Joomla 3.x and 4.x - CREATE, READ, UPDATE and DELETE. You can add tables, fields, and layouts to create catalogs, forms, or details pages. It has 40 Field Types: Integer (numbers), Decimal, Text String, Time, Email, Color, Image, File, User, Language, etc.
https://joomlaboat.com/custom-tables
GNU General Public License v2.0
35 stars 11 forks source link

Unable to create new records in my table after installing 3.2.4. #79

Closed tooliedotter closed 3 months ago

tooliedotter commented 5 months ago

Describe the bug Unable to create a new record in my table. Clicking New instead opens an existing record.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Tables'
  2. Click on the numeric marker for that table under Records.
  3. Click on New to start a new record for that table. Custom Tables instead opens an existing record.
  4. Try making a change to that record and clicking Save. It will save the record.
  5. Try clicking Save and New: it saves the record but does not open a new record.

Expected behavior Clicking the New button should open a new empty record and allow me to save it.

Desktop (please complete the following information):

Additional context The custom tables worked perfectly BEFORE installing the 3.2.4 update. :-( I have the Pro version and the Catalog module.

I am unable to proceed with my project if I cannot add new records.

joomlaboat commented 5 months ago

Hello Tooliedotter,

Please try the latest update 3.2.5 https://joomlaboat.com/custom-tables

tooliedotter commented 5 months ago

Thank you for the update, that worked! I occasionally bump into a "You do not have permission to directly access that resource" error, but for the most part, things are working. Yay!

joomlaboat commented 5 months ago

Maybe because you click on the browser Go Back and forward buttons?

tooliedotter commented 5 months ago

No, I know better than to do that. It happened when I saved something I think without completing a required field. It happened so fast that I didn't remember how I did it. I did get a screen grab. 20240131-cannot-directly-access-that-page

joomlaboat commented 5 months ago

Saving layout or table?

tooliedotter commented 5 months ago

I was saving a record, record number 30 in my movies and videos table. But it occurred with other tables prior to your fix.

joomlaboat commented 4 months ago

Is that problem still exist, can you repeat it?

tooliedotter commented 4 months ago

I cannot regularly repeat it. The only thing I can think of is that I save the record while missing a required field. I recall saving all the other fields but realized I was missing data for one of them. In desperation I saved the record anyway, and it did save the record, but threw this error. Does that help?