Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue setting the inslatation folder field value. #332

Open
Valc opened this issue May 3, 2018 · 1 comment
Open

Issue setting the inslatation folder field value. #332

Valc opened this issue May 3, 2018 · 1 comment

Comments

@Valc
Copy link
Contributor

Valc commented May 3, 2018

Steps to reproduce the issue

Create any folder to install Joomla than contain same name than one of the "exclude" list at "installation" field founded at config.xml file.
In my case my folder to install Joomla was called "joomla_test" than was matching with one to exclude called "test".

Expected result

Be able to list my renamed "_installation" folder that is not in "exclude" list.

Actual result

The "Installation folder" field to configure does not allow select an option from the list.

System information (as much as possible)

Additional comments

This seems than happens due such as now is configured at config.xml it matches all similar cases.
After understand what was happening i try to do this one:
exclude="administrator|build|component|cache|images|includes|language|libraries|logs|media|modules|plugins|templates|^test$|tmp|bin|cli|layouts"

And now is working again with the expected result.

To prevent same issue with other cases we can try:

exclude="^administrator$|^build$|^component$|^cache$|^images$|^includes$|^language$|^libraries$|^logs$|^media$|^modules$|^plugins$|^templates$|^test$|^tmp$|^bin$|^cli$|^layouts$"

For me has been odd need to do it by default. Not obvious than catch equal name of folders to exclude have required the use of regular expresions.

Is this the expected behaivor configuring this type of fields or is bugged?

Regards

@Valc
Copy link
Contributor Author

Valc commented May 3, 2018

Nope, this goes out of my control.

Only moddify to "^test$" to solve my issue has been working due it is simply ignoring my regular expresion with a folder name than really does not exists at my Joomla folder.

Now that i have applied regular expresions for all folders cases to ignore, the "installation folder" field is allowing me select "administrator" and others realy presents at my Joomla folder, so, apply regular expresions makes become as included that ones than need be excludeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant