[BETA] List view names are capitalized #1051

Closed
opened 2024-02-14 15:22:59 +00:00 by vistamedia · 2 comments
Member

Steps to reproduce the issue

Create an admin viow, attach it to a component and compile

Expected result

All view names should be lowercase.

Actual result

Go to the item's controller (the FormController) : the controller sets $this->view_list = ‘Myview’ but it’s capitalized;
Thus if I save or cancel a form I’m redirected to view=Myview instead of view=myview.
I was not really visible in Joomla 3 but with Joomla 4/5 menu system it becomes important to fix it (otherwise we loose the component menu)

System information (as much as possible)

  • OS Name & Version: Mac 14.2.1
  • MySql Version: 5.7
  • PHP Version: 7.4
  • Joomla Version: 3.10.12
  • JCB Version: 3.1.37
  • Browser: Firefox developer edition

Additional comments

### Steps to reproduce the issue Create an admin viow, attach it to a component and compile ### Expected result All view names should be lowercase. ### Actual result Go to the item's controller (the FormController) : the controller sets $this->view_list = ‘Myview’ but it’s capitalized; Thus if I save or cancel a form I’m redirected to view=Myview instead of view=myview. I was not really visible in Joomla 3 but with Joomla 4/5 menu system it becomes important to fix it (otherwise we loose the component menu) ### System information (as much as possible) - OS Name & Version: Mac 14.2.1 - MySql Version: 5.7 - PHP Version: 7.4 - Joomla Version: 3.10.12 - JCB Version: 3.1.37 - Browser: Firefox developer edition ### Additional comments
vistamedia added the
Beta
label 2024-02-14 15:23:11 +00:00
Owner

Fixed it in 3256efd7ec please test download

Fixed it in https://git.vdm.dev/joomla-beta/com-componentbuilder/commit/3256efd7ecd79fba1f952252776eedb07b1ce2ac please test [download](https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/v3.1.39.zip)
Author
Member

Excellent. It works great now :-)

Excellent. It works great now :-)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1051
No description provided.